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