static void Main(string[] args) { Duck1 duck1 = new Duck1(); Console.WriteLine(duck1.Display()); Console.WriteLine(duck1.Fly()); Console.WriteLine(duck1.Quack()); Console.WriteLine(duck1.Swim()); }
public void TestDisplay() { Duck1 donald = new Duck1(); Assert.Equal("Display Duck 1", donald.Display()); }