[Test] public void two_mediums_for_20_bucks_special() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders 2 medium cheese pizzas"); contextPriceCalculatorTestContext.When_customer_orders_quantity_size_pizzaType_pizzas(2, @"medium", @"cheese"); Console.WriteLine(@"Grand Total should be $20"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$20"); }
[Test] public void _10__discount_if_ordering_5_or_more_pizzas() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders 5 large cheese pizzas"); contextPriceCalculatorTestContext.When_customer_orders_quantity_size_pizzaType_pizzas(5, @"large", @"cheese"); Console.WriteLine(@"Grand total should be $67.50"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$67.50"); }
public void _10__discount_if_ordering_5_or_more_pizzas() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders 5 large cheese pizzas"); contextPriceCalculatorTestContext.When_customer_orders_quantity_size_pizzaType_pizzas(5, @"large", @"cheese"); Console.WriteLine(@"Grand total should be $67.50"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$67.50"); }
public void two_mediums_for_20_bucks_special() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders 2 medium cheese pizzas"); contextPriceCalculatorTestContext.When_customer_orders_quantity_size_pizzaType_pizzas(2, @"medium", @"cheese"); Console.WriteLine(@"Grand Total should be $20"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$20"); }