Skip to content

Commit 1d3a340

Browse files
author
AlanGit-debug2604
committed
3-to-pound.js: added test cases
1 parent 8e32548 commit 1d3a340

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Sprint-3/3-mandatory-implement/3-to-pounds.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ function toPound(wholePenceStringWithP) {
3333
return `£${pounds}.${pence}`;
3434
}
3535
console.log(toPound("399p"));
36+
console.log(toPound("1399p"));
37+
console.log(toPound("99p"));
38+
console.log(toPound("9p"));

0 commit comments

Comments
 (0)