Skip to content

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data-Implement_and_Rewrite#1152

Open
Richiealx wants to merge 4 commits intoCodeYourFuture:mainfrom
Richiealx:coursework/sprint-3-implement-and-rewrite
Open

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data-Implement_and_Rewrite#1152
Richiealx wants to merge 4 commits intoCodeYourFuture:mainfrom
Richiealx:coursework/sprint-3-implement-and-rewrite

Conversation

@Richiealx
Copy link

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

This PR completes the Sprint 3 “Implement and Rewrite Tests” coursework.

Implemented functions

  • getAngleType
  • isProperFraction
  • getCardValue

Each function includes assertion tests covering:

  • valid inputs
  • boundary cases
  • invalid cases where applicable.

Rewritten tests using Jest

Jest tests were written for the implemented functions in:

Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest

Testing

Tests were executed using:

  • npx jest Sprint-3/1-implement-and-rewrite-tests
  • All tests passed successfully

@Richiealx Richiealx added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 4, 2026
@Richiealx Richiealx changed the title Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data-Implement_and_Rewrite Mar 4, 2026
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.

1 participant