Skip to content

Commit c2e9807

Browse files
author
wy12345
committed
Added tests for mod function
1 parent 8a86540 commit c2e9807

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

calc/tests/test_calc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
def test_add():
44
assert add(1, 2) == 3
55

6+
def test_mod():
7+
assert mod(5,2) == 1

0 commit comments

Comments
 (0)