Skip to content

London | 26-ITP-May | Chun Yan Wong | Sprint 3 | implement and rewrite-test#1490

Open
cywong-dev wants to merge 9 commits into
CodeYourFuture:mainfrom
cywong-dev:coursework/sprint-3/rewrite
Open

London | 26-ITP-May | Chun Yan Wong | Sprint 3 | implement and rewrite-test#1490
cywong-dev wants to merge 9 commits into
CodeYourFuture:mainfrom
cywong-dev:coursework/sprint-3/rewrite

Conversation

@cywong-dev

Copy link
Copy Markdown

Learners, PR Template

Self checklist

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

Changelist

The test cases have been rewritten in Jest

Implemented the getAngleType function to classify angles.
Implement isProperFraction function to check if a fraction is proper.
Implement getCardValue function to return card values based on rank.
Added implementation comment for the getCardValue function.
Added Jest test cases for proper fraction validation.
Throw an error for invalid card strings.
@cywong-dev cywong-dev added 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. labels Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Structuring-And-Testing-Data The name of the module. 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.

1 participant