Esempio n. 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());
        }
Esempio n. 3
0
        public void ToStringDescriptionForSize(Size size)
        {
            Triceritots tt = new Triceritots();

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

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

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

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

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

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

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

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