Exemple #1
0
        public void TestOverridden()
        {
            Peacock   Jane = new Peacock();
            BrownBear BoBo = new BrownBear();

            Assert.NotEqual(BoBo.Speak(), Jane.Speak());
        }
Exemple #2
0
        public void TestIsAnAnimal2()
        {
            Peacock Jane = new Peacock();

            Assert.Equal(1, Jane.Speak());
        }