|
@ -33,6 +33,9 @@ class calculationsWithRoots(unittest.TestCase): |
|
|
def test_identity_1_and_1_equals_1(self): |
|
|
def test_identity_1_and_1_equals_1(self): |
|
|
self.assertEqual(identity(1, ".", 1), 1) |
|
|
self.assertEqual(identity(1, ".", 1), 1) |
|
|
|
|
|
|
|
|
|
|
|
def test_one_zero_1_or_1_equals_1(self): |
|
|
|
|
|
self.assertEqual(one_zero(1, 1), 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|
unittest.main() |
|
|
unittest.main() |