def testForthBand(self): calcObj = Calculator(900000) self.assertEqual(calcObj.Calc(), 64250, "Should be 64250")
def testThirdBand(self): calcObj = Calculator(500000) self.assertEqual(calcObj.Calc(), 21250, "Should be 21250")
def testFirstBand(self): calcObj = Calculator(200000) self.assertEqual(calcObj.Calc(), 0, "Should be Zero")
def testSecondBand(self): calcObj = Calculator(275000) self.assertEqual(calcObj.Calc(), 1250, "Should be 1250")
def main(): for arg in sys.argv[1:]: priceArg = int(arg) calcObj = Calculator(priceArg) print(calcObj.Calc())