示例#1
0
        public void OneProduct()
        {
            var productList = new List <IProductItem>
            {
                new ProductItem()
                {
                    ProductId = 100, Price = 8m
                },
            };

            var price = _priceCalculator.GetTotalPrice(new List <int>()
            {
                1
            });

            Assert.AreEqual(8, price);
        }