Exemplo n.º 1
0
        public void CalAmountToBePaidTest(List <Cart> carts, double expected)
        {
            var sut    = new CalulateShop();
            var result = sut.CalAmountToBePaid(carts);

            Assert.Equal(expected, result);
        }
Exemplo n.º 2
0
        public double GetAmountToBePaid()
        {
            var cal = new CalulateShop();

            return(cal.CalAmountToBePaid(carts));
        }