예제 #1
0
        public void GetSpeedNorwegianBlueParrot_not_nailed_high_voltage()
        {
            IParrot parrot = new NorwegianBlueParrot(4);

            Assert.AreEqual(parrot.GetSpeed(), 24.0);
        }
예제 #2
0
        public void GetSpeedNorwegianBlueParrot_not_nailed()
        {
            IParrot parrot = new NorwegianBlueParrot(1.5);

            Assert.AreEqual(parrot.GetSpeed(), 18.0);
        }