Пример #1
0
        public void GetSpeedOfEuropeanParrot()
        {
            Parrot parrot = new Parrot(ParrotTypeEnum.EUROPEAN, 0, 0, false);

            Assert.AreEqual(12.0, parrot.GetSpeed());
        }
Пример #2
0
        public void GetSpeedNorwegianBlueParrot_not_nailed()
        {
            Parrot parrot = new Parrot(ParrotTypeEnum.NORWEGIAN_BLUE, 0, 1.5, false);

            Assert.AreEqual(18.0, parrot.GetSpeed());
        }
Пример #3
0
        public void GetSpeedNorwegianBlueParrot_not_nailed_high_voltage()
        {
            Parrot parrot = new Parrot(ParrotTypeEnum.NORWEGIAN_BLUE, 0, 4, false);

            Assert.AreEqual(24.0, parrot.GetSpeed());
        }
Пример #4
0
        public void GetSpeedOfAfricanParrot_With_No_Coconuts()
        {
            Parrot parrot = new Parrot(ParrotTypeEnum.AFRICAN, 0, 0, false);

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