Example #1
0
        public void CorrectLargeToString()
        {
            Triceritots t = new Triceritots();

            t.MakeLarge();
            Assert.Equal("Large Triceritots", t.ToString());
        }
        public void ToStringShouldGiveNameForSize(Size size)
        {
            Triceritots tt = new Triceritots();

            tt.Size = size;
            Assert.Equal($"{size} Triceritots", tt.ToString());
        }
Example #3
0
        public void ToStringDescriptionForSize(Size size)
        {
            Triceritots tt = new Triceritots();

            tt.Size = size;
            Assert.Equal($"{size} Triceritots", tt.ToString());
        }
Example #4
0
        public void CorrectMediumToString()
        {
            Triceritots t = new Triceritots();

            t.MakeMedium();
            Assert.Equal("Medium Triceritots", t.ToString());
        }
Example #5
0
        public void CorrectToString()
        {
            Triceritots tt = new Triceritots();

            tt.Size = Size.Large;
            Assert.Equal((tt.Size.ToString() + " Triceritots"), tt.ToString());
        }
Example #6
0
        public void DescriptionShouldGiveNameForSize(Size size)
        {
            Triceritots tt = new Triceritots
            {
                Size = size
            };

            Assert.Equal($"{size} Triceritots", tt.ToString());
        }
Example #7
0
        public void ShouldHaveCorrectToString()
        {
            Triceritots t = new Triceritots();

            Assert.Equal(($"{t.Size} Triceritots"), t.ToString());
        }
        public void DescriptionMatchesToString()
        {
            Triceritots tt = new Triceritots();

            Assert.Equal(tt.Description, tt.ToString());
        }
Example #9
0
        public void TriceritotsShouldHaveCorrectDescription()
        {
            Triceritots dr = new Triceritots();

            Assert.Equal(dr.Description, dr.ToString());
        }
Example #10
0
        public void CorrectDefaultToString()
        {
            Triceritots t = new Triceritots();

            Assert.Equal("Small Triceritots", t.ToString());
        }
        public void TriceritotsShouldUpdateComponents()
        {
            Triceritots dr = new Triceritots();

            Assert.Equal(dr.Description, dr.ToString());
        }
Example #12
0
        public void CorrectDescription()
        {
            Triceritots tt = new Triceritots();

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