Пример #1
0
        public void ShouldUseCorrectCaloriesForMeduimWithOutSweet()
        {
            Tyrannotea t = new Tyrannotea();

            t.Size = Size.Medium;
            t.ReHoldSweet();
            Assert.Equal <uint>(16, t.Calories);
        }
Пример #2
0
        public void ShouldUseCorrectCaloriesForSmallWithoutSweet()
        {
            Tyrannotea t = new Tyrannotea();

            t.Size = Size.Small;
            t.ReHoldSweet();
            Assert.Equal <uint>(8, t.Calories);
        }
Пример #3
0
        public void ShouldUseCorrectCaloriesForLargeWithoutSweet()
        {
            Tyrannotea t = new Tyrannotea();

            t.Size = Size.Large;
            t.ReHoldSweet();
            Assert.Equal <uint>(32, t.Calories);
        }