public void TestNightShortDistanceFare() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(23, 5); Assert.AreEqual(35, taxiFare); }
public void Test1() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(9, 5); Assert.AreEqual(25, taxiFare); }
public void Test3() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(23, 40); Assert.AreEqual(400, taxiFare); }
public void Test4() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(10, 30); Assert.AreEqual(240, taxiFare); }
public void TestNightLongDistance() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(23, 80); Assert.AreEqual(640, taxiFare); }
public void TestDayShortDistanceFare() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(9, 5); Assert.AreEqual(25, taxiFare); }
public void TestDayMediumDistanceFare() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(10, 30); Assert.AreEqual(240, taxiFare); }
public void TestDayLongDistanceFare() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(10, 70); Assert.AreEqual(420, taxiFare); }
public void TestNightMediumDistanceFare() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(23, 40); Assert.AreEqual(400, taxiFare); }
public void Test2() { TaxiFareCalc obj = new TaxiFareCalc(); int taxiFare = obj.Calculate(23, 5); Assert.AreEqual(35, taxiFare); }