Beispiel #1
0
        public void testItCanFly()
        {
            Eagle eagle = new Eagle(5);

            eagle.fly();
            Assert.Equal("in the air", eagle.currentLocation);
        }
Beispiel #2
0
        public void testItLosesFeathers()
        {
            Eagle eagle = new Eagle(5);

            eagle.molt();
            Assert.Equal(4, eagle.numberOfFeathers);
        }