static void Main(string[] args) { Dog puppy = new Puppy("Beethoven"); Console.WriteLine(puppy.Voice()); Console.WriteLine(puppy.Bite()); Console.WriteLine(puppy.Jump()); Console.WriteLine(puppy.Run()); Console.ReadKey(); }
public void Test_PuppyBiting() { string actualBiting = puppy.Bite(); Assert.AreEqual(puppy.Name + " is tweaking you", actualBiting); }