Skip to content

Commit 461c46c

Browse files
committed
Add failing tests
1 parent 57e83f0 commit 461c46c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_calculate.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ def test_sum_negative():
1111
assert calc_sum(1, -1) == 0
1212
assert calc_sum(-1, 1) == 0
1313
assert calc_sum(-1, -1) == -2
14+
15+
def test_sum_fail():
16+
assert calc_sum(1, 1) != 3
17+
assert calc_sum(2, 1) != 4
18+
assert calc_sum(1, 2) != 4

0 commit comments

Comments
 (0)