Beispiel #1
0
 public void CostOfPetrolToLeedsSHouldEqual1200()
 {
     var calculator = new DistanceCalculator();
     Assert.AreEqual(1200, calculator.GetPrice(600));
 }
Beispiel #2
0
 public void CostOfPetrolToNottionghamSHouldEqual1600()
 {
     var calculator = new DistanceCalculator();
     Assert.AreEqual(1600, calculator.GetPrice(800));
 }
Beispiel #3
0
 public void CostOfPetrolToGlasgowSHouldEqual2200()
 {
     var calculator = new DistanceCalculator();
     Assert.AreEqual(2200, calculator.GetPrice(1100));
 }