Skip to content

Commit 273d39f

Browse files
committed
2-is-proper-fraction.js committed
1 parent d4a9cae commit 273d39f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ function assertEquals(actualOutput, targetOutput) {
3535
// Example: 1/2 is a proper fraction
3636
assertEquals(isProperFraction(1, 2), true);
3737
*
38+
* End of the original file
3839
*/
3940

40-
// Implementation of a function isProperFraction,
41+
// Implementation of a function isProperFraction
42+
4143
// when given two numbers, a numerator and a denominator, it should return true if
4244
// the given numbers form a proper fraction, and false otherwise.
4345

@@ -60,7 +62,7 @@ function isProperFraction(numerator, denominator) {
6062

6163
module.exports = isProperFraction;
6264

63-
// Here's our helper again
65+
// Here's our helper function again
6466
function assertEquals(actualOutput, targetOutput) {
6567
console.assert(
6668
actualOutput === targetOutput,

0 commit comments

Comments
 (0)