Example #1
0
        public void Test_For_Price_In_CartItem()
        {
            RedmiNote5Pro redmiNote5Pro         = new RedmiNote5Pro();
            RedmiY3       redmiY3               = new RedmiY3();
            CartItem      RedmiY3CartItem       = new CartItem(redmiY3, 2);
            CartItem      RedmiNote5ProCartItem = new CartItem(redmiNote5Pro, 2);

            Assert.Equal(19998, RedmiY3CartItem.GetTotalPrice());
        }