Exemplo n.º 1
0
 def test2(self):
     a = xor_(identity, not_(identity))
     self.assertTrue(a(True))
Exemplo n.º 2
0
 def test0(self):
     a = xor_(not_(identity), not_(identity))
     self.assertFalse(a(True))
Exemplo n.º 3
0
 def test1(self):
     a = xor_(not_(identity), identity)
     self.assertTrue(a(True))
Exemplo n.º 4
0
 def test1(self):
     a = and_(not_(identity), identity)
     self.assertFalse(a(True))
Exemplo n.º 5
0
 def test2(self):
     a = and_(identity, not_(identity))
     self.assertFalse(a(True))
Exemplo n.º 6
0
 def test_positive(self):
     n = not_(identity)
     self.assertTrue(n(False))
Exemplo n.º 7
0
 def test_negative(self):
     n = not_(identity)
     self.assertFalse(n(True))
Exemplo n.º 8
0
 def test1(self):
     a = xor_(not_(identity), identity)
     self.assertTrue(a(True))
Exemplo n.º 9
0
 def test2(self):
     a = xor_(identity, not_(identity))
     self.assertTrue(a(True))
Exemplo n.º 10
0
 def test0(self):
     a = xor_(not_(identity), not_(identity))
     self.assertFalse(a(True))
Exemplo n.º 11
0
 def test2(self):
     a = and_(identity, not_(identity))
     self.assertFalse(a(True))
Exemplo n.º 12
0
 def test1(self):
     a = and_(not_(identity), identity)
     self.assertFalse(a(True))
Exemplo n.º 13
0
 def test_negative(self):
     n = not_(identity)
     self.assertFalse(n(True))
Exemplo n.º 14
0
 def test_positive(self):
     n = not_(identity)
     self.assertTrue(n(False))