From 9a0298af9e15c60f300a2769b8eb035732b29304 Mon Sep 17 00:00:00 2001 From: fdai7783 Date: Thu, 18 Jan 2024 22:32:07 +0100 Subject: [PATCH] Added another test for division functionality --- src/test/py/test_primitive_calculations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/py/test_primitive_calculations.py b/src/test/py/test_primitive_calculations.py index 4e06d1c..ac1dcb4 100644 --- a/src/test/py/test_primitive_calculations.py +++ b/src/test/py/test_primitive_calculations.py @@ -36,6 +36,9 @@ class primitive_calculations(unittest.TestCase): def test_divide_10_by_2_equals_5(self): self.assertEqual(divide(10, 2), 5) + def test_divide_10_by_2_equals_4(self): + self.assertEqual(divide(10, 2.5), 4) + if __name__ == "__main__": unittest.main()