[Test] public void pizza_and_beer_special_should_be__6__failing_test_() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders a beer"); contextPriceCalculatorTestContext.When_Customer_Orders_A_Beer(); Console.WriteLine(@"and orders a slice"); contextPriceCalculatorTestContext.When_Orders_A_Slice(); }
[Test] public void beer_should_be__4() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders a beer"); contextPriceCalculatorTestContext.When_Customer_Orders_A_Beer(); Console.WriteLine(@"Grand total should be $4"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$4"); }
public void beer_should_be__4() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders a beer"); contextPriceCalculatorTestContext.When_Customer_Orders_A_Beer(); Console.WriteLine(@"Grand total should be $4"); contextPriceCalculatorTestContext.Grand_Total.ShouldBe(@"$4"); }
public void pizza_and_beer_special_should_be__6__failing_test_() { var contextPriceCalculatorTestContext = new Pizza.TestContext.PriceCalculatorTestContext(); Console.WriteLine(@"When customer orders a beer"); contextPriceCalculatorTestContext.When_Customer_Orders_A_Beer(); Console.WriteLine(@"and orders a slice"); contextPriceCalculatorTestContext.When_Orders_A_Slice(); }