public void CalAmountToBePaidTest(List <Cart> carts, double expected) { var sut = new CalulateShop(); var result = sut.CalAmountToBePaid(carts); Assert.Equal(expected, result); }
public double GetAmountToBePaid() { var cal = new CalulateShop(); return(cal.CalAmountToBePaid(carts)); }