def testcase_08(self): a = AndGate() a.Input0 = True a.Input1 = True a.execute() self.assertTrue(a.Output, "Class ANDGATE: Testcase 8 failed.")
def testcase_07(self): a = AndGate() a.Input0 = False a.Input1 = True a.execute() self.assertFalse(a.Output, "Class ANDGATE: Testcase 7 failed.")