We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c02e7 commit b3bbf8aCopy full SHA for b3bbf8a
Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/2-is-proper-fraction.test.js
@@ -32,4 +32,10 @@ test("should return false when numerator is greater than or equal to denominator
32
// Category 4: Denominator is zero
33
test("should return false when denominator is zero", () => {
34
expect(isProperFraction(1, 0)).toBe(false);
35
+});
36
+
37
+// Category 5: Both numerator and denominator are zero
38
39
+test("should return false when numerator is zero and denominator is zero", () => {
40
+ expect(isProperFraction(0, 0)).toBe(false);
41
});
0 commit comments