Skip to content

Commit 8ba9480

Browse files
committed
Updated the description of Case 3: Identify Negative fraction.
1 parent 632c967 commit 8ba9480

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

1515
// Case 3: Identify Negative Fractions:
16-
test("should return true for negative fractions", () => {
16+
test("should return true when the absolute value of numerator is less than denominator, even if the fraction is negative", () => {
1717
const negativeFraction = isProperFraction(-4, 7);
1818
expect(negativeFraction).toEqual(true);
1919
});

0 commit comments

Comments
 (0)