|
@ -27,6 +27,9 @@ class primitive_calculations(unittest.TestCase): |
|
|
def test_subtract_minus_5_minus_minus_5_equals_0(self): |
|
|
def test_subtract_minus_5_minus_minus_5_equals_0(self): |
|
|
self.assertEqual(subract(-5, -5), 0) |
|
|
self.assertEqual(subract(-5, -5), 0) |
|
|
|
|
|
|
|
|
|
|
|
def test_subtract_minus_5_minus_minus_5_equals_1(self): |
|
|
|
|
|
self.assertEqual(multiply(5, 5), 25) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|
unittest.main() |
|
|
unittest.main() |