def test_speedNorwegianBlueParrot_not_nailed_high_voltage(): parrot = Parrot(ParrotType.NORWEGIAN_BLUE, 0, 4, False) assert parrot.speed() == 24.0
def test_speedOfAfricanParrot_With_One_Coconut(): parrot = Parrot(ParrotType.AFRICAN, 1, 0, False) assert parrot.speed() == 3.0
def test_speedOfEuropeanParrot(): parrot = Parrot(ParrotType.EUROPEAN, 0, 0, False) assert parrot.speed() == 12.0
def test_speedNorwegianBlueParrot_not_nailed(): parrot = Parrot(ParrotType.NORWEGIAN_BLUE, 0, 1.5, False) assert parrot.speed() == 18.0
def test_speedOfAfricanParrot_With_No_Coconuts(): parrot = Parrot(ParrotType.AFRICAN, 0, 0, False) assert parrot.speed() == 12.0
def test_speedNorwegianBlueParrot_nailed(): parrot = Parrot(ParrotType.NORWEGIAN_BLUE, 0, 0, True) assert parrot.speed() == 0.0
def test_speedNorwegianBlueParrot_nailed(): parrot = Parrot(ParrotType.NORWEGIAN_BLUE, 0, 0, True) assert parrot.speed() == 0.0