Beispiel #1
0
 def test3(self):
     a = or_(identity, identity)
     self.assertTrue(a(True))
Beispiel #2
0
 def test1(self):
     a = or_(not_(identity), identity)
     self.assertTrue(a(True))
Beispiel #3
0
 def test2(self):
     a = or_(identity, not_(identity))
     self.assertTrue(a(True))
Beispiel #4
0
 def test0(self):
     a = or_(not_(identity), not_(identity))
     self.assertFalse(a(True))
Beispiel #5
0
 def test3(self):
     a = or_(identity, identity)
     self.assertTrue(a(True))
Beispiel #6
0
 def test2(self):
     a = or_(identity, not_(identity))
     self.assertTrue(a(True))
Beispiel #7
0
 def test1(self):
     a = or_(not_(identity), identity)
     self.assertTrue(a(True))
Beispiel #8
0
 def test0(self):
     a = or_(not_(identity), not_(identity))
     self.assertFalse(a(True))