Пример #1
0
        public void ensure_right_discounts_are_added_for_multiple_items_of_same_item(string item, int quantity,
                                                                                     decimal priceExpected)
        {
            var itemCalculator = new ItemPriceCalculator();

            Assert.That(itemCalculator.CalculatePrice(item, quantity), Is.EqualTo(priceExpected));
        }