Browse Source

Added another test for division functionality

remotes/origin/feature/feature-primitive-calculations
fdai7783 11 months ago
parent
commit
9a0298af9e
  1. 3
      src/test/py/test_primitive_calculations.py

3
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()
Loading…
Cancel
Save