Esempio n. 1
0
 def test_pl_true_P_false(self):
     """logicutils - False thing is evaluated as such"""
     self.assertEqual(pl_true(self.P, {self.P: False}),
                      False)
Esempio n. 2
0
 def test_pl_true_P_true(self):
     """logicutils - True thing is evaluated as such"""
     self.assertEqual(pl_true(self.P, {self.P: True}),
                      True)