Skip to content

Commit

Permalink
Create test_divide.py
Browse files Browse the repository at this point in the history
  • Loading branch information
den1s0v authored Dec 13, 2023
1 parent 52591e8 commit 9fca75f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test_divide.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from calculator import divide


def run():
assert 2 == divide(10, 5)
assert 5 == divide(10, 2)
assert 0 == divide(0, 2)
assert 0 == divide(2, 0)
assert 0 == divide(0, 0)

0 comments on commit 9fca75f

Please sign in to comment.