From 98cef3cc4039bd6464925781c358aeebb38d1860 Mon Sep 17 00:00:00 2001 From: fdai7783 Date: Sun, 4 Feb 2024 14:09:44 +0100 Subject: [PATCH] refactoring: renamed serveral tests --- src/test/py/test_logical_operations.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/py/test_logical_operations.py b/src/test/py/test_logical_operations.py index 87f3e17..f994cc2 100644 --- a/src/test/py/test_logical_operations.py +++ b/src/test/py/test_logical_operations.py @@ -9,28 +9,28 @@ class calculationsWithRoots(unittest.TestCase): def tearDown(self): pass - def test_disconjunctive_identity_1_or_0_equals_x(self): + def test_identity_1_or_0_equals_1(self): self.assertEqual(identity(1, "+", 0), 1) - def test_disconjunctive_identity_1_or_1_equals_None(self): + def test_identity_1_or_1_equals_None(self): self.assertEqual(identity(1, "+", 1), None) - def test_disconjunctive_identity_0_or_1_equals_None(self): + def test_identity_0_or_1_equals_1(self): self.assertEqual(identity(0, "+", 1), 1) - def test_disconjunctive_identity_0_or_0_equals_0(self): + def test_identity_0_or_0_equals_0(self): self.assertEqual(identity(0, "+", 0), 0) - def test_conjunctive_identity_0_and_0_equals_None(self): + def test_identity_0_and_0_equals_None(self): self.assertEqual(identity(0, ".", 0), None) - def test_conjunctive_identity_1_and_0_equals_None(self): + def test_identity_1_and_0_equals_0(self): self.assertEqual(identity(1, ".", 0), 0) - def test_conjunctive_identity_0_and_1_equals_0(self): + def test_identity_0_and_1_equals_0(self): self.assertEqual(identity(0, ".", 1), 0) - def test_conjunctive_identity_1_and_1_equals_1(self): + def test_identity_1_and_1_equals_1(self): self.assertEqual(identity(1, ".", 1), 1)