def testcase_01(self): a = AndGate() a.__Input0 = False a.__Input1 = False a.execute() self.assertFalse(a.Output, "Class ANDGATE: Testcase 1 failed.")
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.")