|
@ -33,6 +33,9 @@ class primitive_calculations(unittest.TestCase): |
|
|
def test_multiply_minus_5_multiply_minus_5_equals_25(self): |
|
|
def test_multiply_minus_5_multiply_minus_5_equals_25(self): |
|
|
self.assertEqual(multiply(-5, -5), 25) |
|
|
self.assertEqual(multiply(-5, -5), 25) |
|
|
|
|
|
|
|
|
|
|
|
def test_divide_10_by_2_equals_5(self): |
|
|
|
|
|
self.assertEqual(divide(10, 2), 5) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|
unittest.main() |
|
|
unittest.main() |