示例#1
0
 public void When_SumIs9000_Then_TaxIs1087E8()
 {
     var calculator = new TaxCalculator();
     Assert.That(calculator.TaxPrice(9000), Is.EqualTo(1087.8m));
 }
示例#2
0
 public void When_SumIs5000_Then_TaxIs500()
 {
     var calculator = new TaxCalculator();
     Assert.That(calculator.TaxPrice(5000), Is.EqualTo(500));
 }
示例#3
0
 public void When_SumIs5800_Then_TaxIs609E2()
 {
     var calculator = new TaxCalculator();
     Assert.That(calculator.TaxPrice(5800), Is.EqualTo(609.2m));
 }
示例#4
0
 public void When_SumIs15000_Then_TaxIs2532E9()
 {
     var calculator = new TaxCalculator();
     Assert.That(calculator.TaxPrice(15000), Is.EqualTo(2532.9m));
 }