Exemple #1
0
        public void TestCanidaeInheritsCarnivora()
        {
            Canidae dog = new Canidae();

            Assert.Equal("Carnivora hunts with teeth and claws.", dog.Hunt());
        }
Exemple #2
0
        public void TestCanidaeAbstraction()
        {
            Canidae dog = new Canidae();

            Assert.Equal("Dog-like howl or bark.", dog.Communicate());
        }
Exemple #3
0
        public void TestCanidaeInheritsMammalia()
        {
            Canidae dog = new Canidae();

            Assert.Equal("Mammals nurse their young with milk.", dog.Nurse());
        }