diff --git a/test_divide.py b/test_divide.py new file mode 100644 index 0000000..87cee0b --- /dev/null +++ b/test_divide.py @@ -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)