Example #1
0
        public void testEnergy()
        {
            Animal oTony = new Tiger();

            Assert.AreEqual(oTony.getEnergyMeans(), "frosted flakes");
        }
Example #2
0
        public void testName()
        {
            Animal oTony = new Tiger();

            Assert.AreEqual(oTony.getName(), "Tony");
        }
Example #3
0
        public void testReproduction()
        {
            Animal oTony = new Tiger();

            Assert.AreEqual(oTony.getReproductionMethod(), "live birth");
        }
Example #4
0
        public void createTiger()
        {
            Animal oTony = new Tiger();

            Assert.IsNotNull(oTony);
        }