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

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

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

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

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

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

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

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

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

            Assert.Equal(dr.Description, dr.ToString());
        }
예제 #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());
        }
예제 #12
0
        public void CorrectDescription()
        {
            Triceritots tt = new Triceritots();

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