Skip to content

Commit 79e3535

Browse files
committed
amended the test whe numerator =0
1 parent 2923430 commit 79e3535

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ test("checking when denominator = 0", () => {
3434
assert.equal(isProperFraction(5, 0), false);
3535
});
3636
test("Checking when numerator = 0", () => {
37-
assert.equal(isProperFraction(0, 1), true);
38-
assert.equal(isProperFraction(0, 5), true);
37+
assert.equal(isProperFraction(0, 1), false);
38+
assert.equal(isProperFraction(0, 5), false);
3939
});
4040
test("checking when numerator= 0 = denominator", () => {
4141
assert.equal(isProperFraction(0, 0), false);

0 commit comments

Comments
 (0)