Skip to content

Commit a7b7c2f

Browse files
committed
2-fraction/case2
1 parent 3be3bfb commit a7b7c2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/2-is-proper-fraction.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ function isProperFraction(numerator, denominator) {
1111
if (numerator < denominator) {
1212
return true;
1313
}
14+
if (numerator >= denominator) {
15+
return false;
16+
}
1417
}
1518

1619
// The line below allows us to load the isProperFraction function into tests in other files.

0 commit comments

Comments
 (0)