Beispiel #1
0
 public void TaxRatesTest_SecondLevelBottom()
 {
     taxRates.AnnualSalary = 18201;
     taxRates.FetchTaxRates();
     Assert.Equal(19, taxRates.RatePerDolloar);
     Assert.Equal(0, taxRates.TaxStartup);
 }
Beispiel #2
0
 public void TaxRatesTest_FirstLevelBottom()
 {
     taxRates.AnnualSalary = 0;
     taxRates.FetchTaxRates();
     Assert.Equal(0, taxRates.RatePerDolloar);
     Assert.Equal(0, taxRates.TaxStartup);
 }
Beispiel #3
0
 public void TaxRatesTest_ForthLevelBottom()
 {
     taxRates.AnnualSalary = 87001;
     taxRates.FetchTaxRates();
     Assert.Equal(37, taxRates.RatePerDolloar);
     Assert.Equal(19822, taxRates.TaxStartup);
 }
Beispiel #4
0
 public void TaxRatesTest_FifthLevelBottom()
 {
     taxRates.AnnualSalary = 180001;
     taxRates.FetchTaxRates();
     Assert.Equal(45, taxRates.RatePerDolloar);
     Assert.Equal(54232, taxRates.TaxStartup);
 }
Beispiel #5
0
 public void TaxRatesTest_ThirdLevelBottom()
 {
     taxRates.AnnualSalary = 37001;
     taxRates.FetchTaxRates();
     Assert.Equal(32.5m, taxRates.RatePerDolloar);
     Assert.Equal(3572, taxRates.TaxStartup);
 }