Skip to content

Commit a223e45

Browse files
committed
Rewrite test with jest for isproperfraction code
1 parent d07dd99 commit a223e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test("should return false for an improper fraction", () => {
1313

1414
// Case 3: Identify Negative Fractions:
1515
test("should return false for a negative fraction", () => {
16-
expect(isProperFraction(-1, 2)).toEqual(false);
16+
expect(isProperFraction(-1, 2)).toEqual(true);
1717
});
1818

1919
// Case 4: Identify Equal Numerator and Denominator:

0 commit comments

Comments
 (0)