Skip to content

London | 26-May-ITP | Yonatan Teklemariam | Sprint 3 | implement and rewrite tests#1452

Open
Yonatanteklemariam wants to merge 16 commits into
CodeYourFuture:mainfrom
Yonatanteklemariam:coursework/sprint-3-implement-and-rewrite-tests
Open

London | 26-May-ITP | Yonatan Teklemariam | Sprint 3 | implement and rewrite tests#1452
Yonatanteklemariam wants to merge 16 commits into
CodeYourFuture:mainfrom
Yonatanteklemariam:coursework/sprint-3-implement-and-rewrite-tests

Conversation

@Yonatanteklemariam

@Yonatanteklemariam Yonatanteklemariam commented Jul 3, 2026

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

removed the redundant checks based on mathematical reference and corrected the syntax errors in the commented out code snippet.

Supersedes and replaced the old PR: #1381

Renamed the branch to better align with PR formatting rules

The code remains exactly the same as the previous PR; only the branch name was updated and some comments added

###Carrying over from #1381. @cjyuan had already reviewed, and advised on removal of redundant checks which is now fixed. Plus he advised me to align to the PR format which is also resolved.

Remove check for zero numerator in isProperFraction function.
Added checks for finite and integer values of numerator and denominator.
Refactor isProperFraction to validate integers instead of finite numbers.
Fix syntax error in isProperFraction function.
@Yonatanteklemariam Yonatanteklemariam added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 3, 2026

@cjyuan cjyuan left a comment

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 you look up

When one must close a reviewed PR and then reopen a new PR from the same codebase, what should they include in the new PR?

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

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants