Browse Source

refactoring: renamed tests to fit or operand functionality

remotes/origin/feature/feature-logical-operations
fdai7783 11 months ago
parent
commit
f14df7baed
  1. 8
      src/test/py/test_logical_operations.py

8
src/test/py/test_logical_operations.py

@ -9,16 +9,16 @@ class calculationsWithRoots(unittest.TestCase):
def tearDown(self): def tearDown(self):
pass pass
def test_disconjunctive_identity_1_and_0_equals_x(self):
def test_disconjunctive_identity_1_or_0_equals_x(self):
self.assertEqual(identity_conjunctive(1, "+", 0), 1) self.assertEqual(identity_conjunctive(1, "+", 0), 1)
def test_disconjunctive_identity_1_and_1_equals_None(self):
def test_disconjunctive_identity_1_or_1_equals_None(self):
self.assertEqual(identity_conjunctive(1, "+", 1), None) self.assertEqual(identity_conjunctive(1, "+", 1), None)
def test_disconjunctive_identity_0_and_1_equals_None(self):
def test_disconjunctive_identity_0_or_1_equals_None(self):
self.assertEqual(identity_conjunctive(0, "+", 1), None) self.assertEqual(identity_conjunctive(0, "+", 1), None)
def test_disconjunctive_identity_0_and_0_equals_0(self):
def test_disconjunctive_identity_0_or_0_equals_0(self):
self.assertEqual(identity_conjunctive(0, "+", 0), 0) self.assertEqual(identity_conjunctive(0, "+", 0), 0)

Loading…
Cancel
Save