Esempio n. 1
0
 def test_calculateTax_third_grade(self):
     tax1 = TaxCalculator()
     self.assertEquals(tax1.calculateTax(5001), [500.1])
Esempio n. 2
0
 def test_calculateTax_first_grade(self):
     tax = TaxCalculator()
     self.assertEquals(tax.calculateTax(1000), [0.0])
Esempio n. 3
0
 def test_calculateTax_second_grade(self):
     tax1 = TaxCalculator()
     self.assertEquals(tax1.calculateTax(3000), [150])