コード例 #1
0
        public void Test_BBQPizza2_Fact()
        {
            var sut      = new BBQPizza();
            var expected = "Thin";

            var actual = sut.Crust.Name;

            Assert.Equal(expected, actual);
        }
コード例 #2
0
        public void Test_BBQPizza1_Fact()
        {
            var sut      = new BBQPizza();
            var expected = "Mushrooms";

            var actual = sut.Toppings[1].Name;

            Assert.Equal(expected, actual);
        }