def testcase_04(self): a = NAndGate() a.Input0 = True a.Input1 = True a.execute() self.assertEqual(False, a.Output, "Class NAndGate Testcase 4 failed.")
def testcase_01(self): a = NAndGate() a.Input0 = False a.Input1 = False a.execute() self.assertEqual(True, a.Output, "Class NAndGate Testcase 1 failed.")