|
@ -39,8 +39,8 @@ 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) |
|
|
|
|
|
|
|
|
def test_one_zero_1_or_0_equals_1(self): |
|
|
|
|
|
self.assertEqual(one_zero(1, 0), 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|