Exemplo n.º 1
0
        public void testEating()
        {
            Animal oDracula = new Bat(), oBarnSwallow = new BarnSwallow();

            Assert.AreEqual(oDracula.getEnergyMeans(), oBarnSwallow.getEnergyMeans());
        }
Exemplo n.º 2
0
        public void testBarnSwallowFlying()
        {
            Flyable oBarnSwallow = new BarnSwallow();

            Assert.IsTrue(oBarnSwallow.canFly());
        }
Exemplo n.º 3
0
        public void testBarnSwallow()
        {
            Animal oSwallow = new BarnSwallow();

            Assert.IsNotNull(oSwallow);
        }
 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);
 }