public void GetSpeedOfEuropeanParrot() { var parrot = new CSharpRefactorings.Parrot.Original.Parrot(ParrotTypeEnum.EUROPEAN, 0, 0, false); Assert.AreEqual(parrot.GetSpeed(), 12.0); }
public void GetSpeedNorwegianBlueParrot_nailed() { var parrot = new CSharpRefactorings.Parrot.Original.Parrot(ParrotTypeEnum.NORWEGIAN_BLUE, 0, 0, true); Assert.AreEqual(parrot.GetSpeed(), 0.0); }
public void GetSpeedNorwegianBlueParrot_not_nailed_high_voltage() { var parrot = new CSharpRefactorings.Parrot.Original.Parrot(ParrotTypeEnum.NORWEGIAN_BLUE, 0, 4, false); Assert.AreEqual(parrot.GetSpeed(), 24.0); }
public void GetSpeedOfAfricanParrot_With_No_Coconuts() { var parrot = new CSharpRefactorings.Parrot.Original.Parrot(ParrotTypeEnum.AFRICAN, 0, 0, false); Assert.AreEqual(parrot.GetSpeed(), 12.0); }