|
@ -9,10 +9,10 @@ class calculationsWithRoots(unittest.TestCase): |
|
|
def tearDown(self): |
|
|
def tearDown(self): |
|
|
pass |
|
|
pass |
|
|
|
|
|
|
|
|
def test_identity_x_and_0_equals_x(self): |
|
|
|
|
|
|
|
|
def test_identity_1_and_0_equals_x(self): |
|
|
self.assertEqual(identity_conjunctive(1, 0), 1) |
|
|
self.assertEqual(identity_conjunctive(1, 0), 1) |
|
|
|
|
|
|
|
|
def test_identity_x_and_1_equals_NULL(self): |
|
|
|
|
|
|
|
|
def test_identity_1_and_1_equals_NULL(self): |
|
|
self.assertEqual(identity_conjunctive(1, 1), None) |
|
|
self.assertEqual(identity_conjunctive(1, 1), None) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|