Skip to content

Commit 6f511b3

Browse files
code work for equal number
1 parent f476b9f commit 6f511b3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎implement-and-rewrite-tests/implement-tests-with-node-test/2-is-proper-fraction.test.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ test("Basic proper fraction", () => {
1212
});
1313

1414
test("improper fraction", () => {
15-
// Example: 1/2 is a proper fraction
15+
// Example: 2/1 is a improper fraction
1616
assert.equal(isProperFraction(2, 1), false);
1717
});
18+
19+
test("Equal numerator and denominator", () => {
20+
// Example: equal number
21+
assert.equal(isProperFraction(5, 5), false);
22+
});

0 commit comments

Comments
 (0)