|
@ -36,6 +36,9 @@ class primitive_calculations(unittest.TestCase): |
|
|
def test_divide_10_by_2_equals_5(self): |
|
|
def test_divide_10_by_2_equals_5(self): |
|
|
self.assertEqual(divide(10, 2), 5) |
|
|
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__": |
|
|
if __name__ == "__main__": |
|
|
unittest.main() |
|
|
unittest.main() |