public void EmperorPenguinFood() { Emperor_Penguin empPenguin = new Emperor_Penguin(); string Food = empPenguin.Food; Assert.Equal("cute fish", Food); }
public void EmperorPenguinHasLegs() { Emperor_Penguin empPenguin = new Emperor_Penguin(); int legs = empPenguin.Legs; Assert.Equal(2, 2); }
/// <summary> /// Make an instance of Emperor Penguin /// </summary> public static void MakeEmperorPenguin() { Emperor_Penguin emperorPenguin = new Emperor_Penguin(); Console.WriteLine("-Emperor Penguin-"); Console.WriteLine($"Emperor Penguins have {emperorPenguin.Legs} legs."); Console.WriteLine($"Emperor Penguins eat {emperorPenguin.Food}."); Console.WriteLine("~~~~~~~~~~~~~~~~~"); }