Beispiel #1
0
 public void TestE1()
 {
     var target = new receipt(); target.Price = 3000001; Assert.AreEqual(1000, target.tax);
 }
Beispiel #2
0
 public void TestF2()
 {
     var target = new receipt(); target.Price = 10000000; Assert.AreEqual(2000, target.tax);
 }
Beispiel #3
0
 public void TestA2()
 {
     var target = new receipt(); target.Price = 49999; Assert.AreEqual(0, target.tax);
 }