public void getNameTest() { IAnimal target = new Animal("Bob", AnimalTypes.animalTypes.Cat); string expected = "Bob"; string actual; actual = target.getName(); Assert.AreEqual(expected, actual); }
public void getNameTest() { 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.getName(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }