|
@ -42,6 +42,9 @@ class calculationsWithRoots(unittest.TestCase): |
|
|
def test_one_zero_1_or_0_equals_1(self): |
|
|
def test_one_zero_1_or_0_equals_1(self): |
|
|
self.assertEqual(one_zero(1, 0), 1) |
|
|
self.assertEqual(one_zero(1, 0), 1) |
|
|
|
|
|
|
|
|
|
|
|
def test_one_zero_1_or_0_equals_11(self): |
|
|
|
|
|
self.assertEqual(one_zero(0, 0), None) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|
unittest.main() |
|
|
unittest.main() |