public void GetSpeedOfEuropeanParrot() { var parrot = new Parrot(ParrotTypeEnum.European, 0, 0, false); Assert.AreEqual(parrot.GetSpeed(), 12.0); }
public void GetSpeedNorwegianBlueParrot_NotNailedHighVoltage() { var parrot = new Parrot(ParrotTypeEnum.NorwegianBlue, 0, 4, false); Assert.AreEqual(parrot.GetSpeed(), 24.0); }
public void GetSpeedNorwegianBlueParrot_Nailed() { var parrot = new Parrot(ParrotTypeEnum.NorwegianBlue, 0, 0, true); Assert.AreEqual(parrot.GetSpeed(), 0.0); }
public void GetSpeedNorwegianBlueParrot_NotNailed() { var parrot = new Parrot(ParrotTypeEnum.NorwegianBlue, 0, 1.5, false); Assert.AreEqual(parrot.GetSpeed(), 18.0); }
public void GetSpeedOfAfricanParrot_WithNoCoconuts() { var parrot = new Parrot(ParrotTypeEnum.African, 0, 0, false); Assert.AreEqual(parrot.GetSpeed(), 12.0); }