コード例 #1
0
        [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();
        }
コード例 #2
0
        [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");
        }
コード例 #3
0
ファイル: Generated.cs プロジェクト: heinrichbreedt/storevil
 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");
 }
コード例 #4
0
ファイル: Generated.cs プロジェクト: heinrichbreedt/storevil
 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();
 }