Skip to content

London | 26-ITP-May | Rhoda Ajiroba | Sprint 3 | Structuring and Testing Data - #1563

Open
codebyra wants to merge 3 commits into
CodeYourFuture:mainfrom
codebyra:coursework/sprint-3-clean
Open

London | 26-ITP-May | Rhoda Ajiroba | Sprint 3 | Structuring and Testing Data#1563
codebyra wants to merge 3 commits into
CodeYourFuture:mainfrom
codebyra:coursework/sprint-3-clean

Conversation

@codebyra

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Completed the Sprint 3 mandatory exercises for the Structuring and Testing Data module.

Implemented and tested the required Sprint 3 exercises, including rewriting tests with Jest, practice TDD, and dead code removal.

@github-actions

This comment has been minimized.

@codebyra codebyra added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 25, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 25, 2026
@codebyra codebyra added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 25, 2026
@codebyra

Copy link
Copy Markdown
Author

@LonMcGregor Please review this too


function isProperFraction(numerator, denominator) {
// TODO: Implement this function
return numerator >= 0 && denominator > 0 && numerator < denominator;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What authoritative source do you base your definition of a proper fraction on?

});

// Case 6: Invalid angles
test("should return 'Invalid angle' for invalid values", () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could consider explicitly indicating the range of invalid values.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 27, 2026
@cjyuan

cjyuan commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

You also missed updating Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/2-is-proper-fraction.test.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants