示例#1
0
文件: tests.py 项目: erichideki/dojo
 def testTrueXorFalse(self):
     self.assertTrue(program.calculaBinario('false xor true'))
     
     
        
        
        
        
示例#2
0
文件: tests.py 项目: erichideki/dojo
 def testFalseOrFalse(self):
     self.assertFalse(program.calculaBinario('false or false'))
示例#3
0
文件: tests.py 项目: erichideki/dojo
 def testTrueOrTrue(self):
     self.assertTrue(program.calculaBinario('true or true'))
示例#4
0
文件: tests.py 项目: erichideki/dojo
 def testTrueOrFalse(self):
     self.assertTrue(program.calculaBinario('true or false'))
     self.assertTrue(program.calculaBinario('false or true'))
示例#5
0
文件: tests.py 项目: erichideki/dojo
 def testFalseAndFalse(self):
     self.assertFalse(program.calculaBinario('false and false'))
示例#6
0
 def testTrueXorFalse(self):
     self.assertTrue(program.calculaBinario('false xor true'))
示例#7
0
文件: tests.py 项目: erichideki/dojo
 def testTrueAndTrue(self):
     self.assertTrue(program.calculaBinario('true and true'))
示例#8
0
 def testTrueOrTrue(self):
     self.assertTrue(program.calculaBinario('true or true'))
示例#9
0
 def testFalseOrFalse(self):
     self.assertFalse(program.calculaBinario('false or false'))
示例#10
0
 def testFalseAndFalse(self):
     self.assertFalse(program.calculaBinario('false and false'))
示例#11
0
 def testTrueOrFalse(self):
     self.assertTrue(program.calculaBinario('true or false'))
     self.assertTrue(program.calculaBinario('false or true'))
示例#12
0
 def testTrueAndTrue(self):
     self.assertTrue(program.calculaBinario('true and true'))