static void Main(string[] args) { Console.WriteLine("Dog Tests...."); Dog d = new Dog(); //Test Happy Birthday Console.WriteLine(d.About()); d.HappyBirthday(); Console.WriteLine(d.About()); //Test Eat d.Eat(); Console.WriteLine(d.About()); }
public void TestDogAbout() { //arrange d = new Dog(); //add using for dog //act //assert Assert.AreEqual($"Hello my name is {d.Name} I'm {d.Age} years old. My bark sounds like {d.BarkSound}. Ive barked {d.BarkCount} times.", d.About()); }