def testTrueXorFalse(self): self.assertTrue(program.calculaBinario('false xor true'))
def testFalseOrFalse(self): self.assertFalse(program.calculaBinario('false or false'))
def testTrueOrTrue(self): self.assertTrue(program.calculaBinario('true or true'))
def testTrueOrFalse(self): self.assertTrue(program.calculaBinario('true or false')) self.assertTrue(program.calculaBinario('false or true'))
def testFalseAndFalse(self): self.assertFalse(program.calculaBinario('false and false'))
def testTrueAndTrue(self): self.assertTrue(program.calculaBinario('true and true'))