public void getSpeciesTest() { IAnimal target = new Animal("Bob", AnimalTypes.animalTypes.Cat); string expected = "Cat"; string actual; actual = target.getSpecies(); Assert.AreEqual(expected, actual); }
public void getSpeciesTest1() { string name = string.Empty; // TODO: Initialize to an appropriate value AnimalTypes.animalTypes type = new AnimalTypes.animalTypes(); // TODO: Initialize to an appropriate value Animal target = new Animal(name, type); // TODO: Initialize to an appropriate value string expected = string.Empty; // TODO: Initialize to an appropriate value string actual; actual = target.getSpecies(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }