Пример #1
0
        public void CanCreateEagle()
        {
            Eagle american = new Eagle("midnight", 2, "cah", 15, false);

            Assert.Equal("midnight", american.Name);
            Assert.Equal(2, american.Legs);
            Assert.Equal("cah", american.UserSpeech());
            Assert.False(american.EatsTrash);
            Assert.True(american.BiteSomeone());
            Assert.Equal("zzzzzzzzzZZZZZZZZ", american.Sleep());
            Assert.True(american.CanScratch());
            Assert.Equal(15, american.RabiesLevel);
        }