diff --git a/src/main/py/logical_operations.py b/src/main/py/logical_operations.py index a9e51a8..20d86c2 100644 --- a/src/main/py/logical_operations.py +++ b/src/main/py/logical_operations.py @@ -1,2 +1,2 @@ -def identity(a, b): - return a +def identity_conjunctive(variable, zero): + return variable diff --git a/src/test/py/test_logical_operations.py b/src/test/py/test_logical_operations.py index 4efdb64..628b075 100644 --- a/src/test/py/test_logical_operations.py +++ b/src/test/py/test_logical_operations.py @@ -10,7 +10,7 @@ class calculationsWithRoots(unittest.TestCase): pass def test_identity_x_and_0_equals_x(self): - self.assertEqual(identity(1, 0), 1) + self.assertEqual(identity_conjunctive(1, 0), 1) if __name__ == "__main__":