From 9fca75f758cd71dff6e66c3338ec93b3209a3248 Mon Sep 17 00:00:00 2001 From: den1s0v <42928670+den1s0v@users.noreply.github.com> Date: Wed, 13 Dec 2023 21:33:20 +0300 Subject: [PATCH] Create test_divide.py --- test_divide.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test_divide.py 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)