Glasgow | 25-ITP-May | Arthur Chan | Sprint 3 | practice-tdd - #1406
Glasgow | 25-ITP-May | Arthur Chan | Sprint 3 | practice-tdd#1406Motorcycle-lab wants to merge 5 commits into
Conversation
LonMcGregor
left a comment
There was a problem hiding this comment.
This implementation doesn't quite look finished yet, but good start.
Your functions are working, but need to be formatted.
You are missing test cases. Have you comitted them yet?
| function countChar(stringOfCharacters, findCharacter) { | ||
| return 5 | ||
| let count=0; | ||
| for(let letter of stringOfCharacters) |
There was a problem hiding this comment.
Could you fix the formatting here? You IDE should be able to do that for you quite easily.
| function getOrdinalNumber(num) { | ||
| return "1st"; | ||
|
|
||
| if(num===11){ |
There was a problem hiding this comment.
What about larger numbers, like 111? What ordinal should you get?
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work. Your implementations look complete now. Now you need to start uploading your test cases.
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work, this task is completed now
|
Closing PR because the May ITP run has finished. Feel free to re-open if you're still working on it. |
Self checklist
Changelist
I finished the exercises inside sprint 3 . coursework 2 practice tdd
Questions
.