Example #1
0
        public void CorrectLargeToString()
        {
            Fryceritops f = new Fryceritops();

            f.MakeLarge();
            Assert.Equal("Large Fryceritops", f.ToString());
        }
Example #2
0
        public void CorrectToString()
        {
            Fryceritops ft = new Fryceritops();

            ft.Size = Size.Large;
            Assert.Equal(ft.Size.ToString() + " Fryceritops", ft.ToString());
        }
Example #3
0
        public void CorrectMediumToString()
        {
            Fryceritops f = new Fryceritops();

            f.MakeMedium();
            Assert.Equal("Medium Fryceritops", f.ToString());
        }
        public void FryceritopsToStringShouldGiveNameForSize(Size size)
        {
            Fryceritops ft = new Fryceritops();

            ft.Size = size;
            Assert.Equal($"{size} Fryceritops", ft.ToString());
        }
        public void ShouldHaveProperToString()
        {
            Fryceritops ft = new Fryceritops();

            ft.Size = Size.Large;
            Assert.Equal("Large Fryceritops", ft.ToString());
        }
Example #6
0
        public void FryceritopsDescriptionForSize(Size size)
        {
            Fryceritops ft = new Fryceritops();

            ft.Size = size;
            Assert.Equal($"{size} Fryceritops", ft.ToString());
        }
Example #7
0
        public void CorrectDefaultToString()
        {
            Fryceritops f = new Fryceritops();

            Assert.Equal("Small Fryceritops", f.ToString());
        }
Example #8
0
        public void ShouldHaveCorrectToString()
        {
            Fryceritops f = new Fryceritops();

            Assert.Equal(($"{f.Size} Fryceritops"), f.ToString());
        }
        public void DescriptionMatchesToString()
        {
            Fryceritops ft = new Fryceritops();

            Assert.Equal(ft.Description, ft.ToString());
        }
Example #10
0
        public void CorrectDescription()
        {
            Fryceritops ft = new Fryceritops();

            Assert.Equal(ft.ToString(), ft.Description);
        }
Example #11
0
        public void FriceritopsShouldHaveCorrectDescription()
        {
            Fryceritops dr = new Fryceritops();

            Assert.Equal(dr.Description, dr.ToString());
        }
        public void FriceritopsShouldUpdateComponents()
        {
            Fryceritops dr = new Fryceritops();

            Assert.Equal(dr.Description, dr.ToString());
        }