public void testEating() { Animal oDracula = new Bat(), oBarnSwallow = new BarnSwallow(); Assert.AreEqual(oDracula.getEnergyMeans(), oBarnSwallow.getEnergyMeans()); }
public void testBarnSwallowFlying() { Flyable oBarnSwallow = new BarnSwallow(); Assert.IsTrue(oBarnSwallow.canFly()); }
public void testBarnSwallow() { Animal oSwallow = new BarnSwallow(); Assert.IsNotNull(oSwallow); }