Skip to content

Glasgow | 2026-ITP-May | Tuan Nguyen | Sprint 3 | 1-Implement-and-rewrite-test#1309

Open
Jacknguyen4438 wants to merge 9 commits into
CodeYourFuture:mainfrom
Jacknguyen4438:Jest-test-case-sprint-3A
Open

Glasgow | 2026-ITP-May | Tuan Nguyen | Sprint 3 | 1-Implement-and-rewrite-test#1309
Jacknguyen4438 wants to merge 9 commits into
CodeYourFuture:mainfrom
Jacknguyen4438:Jest-test-case-sprint-3A

Conversation

@Jacknguyen4438
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

Hello this is my work and after I check with the May ITP course work. I would like to resubmit for all Sprint 3 course work. If change need to be make please let me know

Questions

No question.

@Jacknguyen4438 Jacknguyen4438 added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Structuring-And-Testing-Data The name of the module. Core This is a core task and should be completed by all trainees labels May 6, 2026
@Jacknguyen4438 Jacknguyen4438 added 📅 Sprint 3 Assigned during Sprint 3 of this module and removed 📅 Sprint 2 Assigned during Sprint 2 of this module labels May 11, 2026
@illicitonion illicitonion added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels May 14, 2026
Copy link
Copy Markdown
Member

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

LGTM - I'm going to mark this complete, but please check your definition of proper fractions according to my comments :)

assertEquals(isProperFraction(3, 4), true);
assertEquals(isProperFraction(5, 10), true);
assertEquals(isProperFraction(-4, 2), false);
assertEquals(isProperFraction(-4, 10), false);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you sure -4/10 isn't a proper fraction?

test(`should return true when numerator is zero`, () => {
expect(isProperFraction(0, 1)).toEqual(true);
});
test(`should return false when numerator value is negative `, () => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you sure about this?

@illicitonion illicitonion added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Core This is a core task and should be completed by all trainees Module-Structuring-And-Testing-Data The name of the module. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants