|
@ -39,6 +39,9 @@ class calculationsWithRoots(unittest.TestCase): |
|
|
def test_one_zero_0_or_1_equals_1(self): |
|
|
def test_one_zero_0_or_1_equals_1(self): |
|
|
self.assertEqual(one_zero(0, 1), 1) |
|
|
self.assertEqual(one_zero(0, 1), 1) |
|
|
|
|
|
|
|
|
|
|
|
def test_one_zero_0_or_1_equals_11(self): |
|
|
|
|
|
self.assertEqual(one_zero(1, 1), 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|
unittest.main() |
|
|
unittest.main() |