Skip to content

Commit 9a88261

Browse files
committed
Change expected output to true for proper fraction with negative numerator
1 parent cfecb6c commit 9a88261

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 improper fractions", () => {
1313

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

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

0 commit comments

Comments
 (0)