Skip to content

Manchester | 26-ITP-Jan | Farancis Dore Etonkie | Sprint 3 | Structuring and testing data#1220

Closed
FarancisGH wants to merge 3 commits intoCodeYourFuture:mainfrom
FarancisGH:coursework/sprint-3-practice-tdd
Closed

Manchester | 26-ITP-Jan | Farancis Dore Etonkie | Sprint 3 | Structuring and testing data#1220
FarancisGH wants to merge 3 commits intoCodeYourFuture:mainfrom
FarancisGH:coursework/sprint-3-practice-tdd

Conversation

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

Briefly explain your PR.
1. Changes made to the count functions commands
2. Adjustments and codes written on ordinal numbers and repeat functions

…tr function and add test cases for it. The repeatStr function now uses the built-in `repeat` method to return the string repeated a specified number of times. Additionally, test cases have been added to verify the behavior of the function when the count is 1, 0, and negative.
@github-actions
Copy link

github-actions bot commented Mar 7, 2026

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@FarancisGH FarancisGH closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant