Exemplo n.º 1
0
        public void testEnergy()
        {
            Animal oTony = new Tiger();

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

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

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

            Assert.IsNotNull(oTony);
        }