public void TestWaterInheritanceThroughRecreationalBoat() { RecreationalBoat recreationalBoat = new RecreationalBoat(); string phrase = recreationalBoat.UsedFor(); Assert.Equal("I travel on the water and I'm used to relax.", phrase); }
public void TestIPropellerInheritanceThroughRecreationalBoat() { RecreationalBoat recreationalboat = new RecreationalBoat(); string phrase = recreationalboat.Description(); Assert.Equal("I am a Recreational Boat that carries 8 passengers and travel at a speed of 15mph. It is True that I have a steering wheel to control me. I have 2 propellers to go and steer.", phrase); }
public void TestRecreationalBoatCatchPhrase() { RecreationalBoat recreationalBoat = new RecreationalBoat(); string phrase = recreationalBoat.CatchPhrase(); Assert.Equal("Fishing is too much work, I'd rather Relax", phrase); }
static void RecreationalBoatMessage() { RecreationalBoat recreationalBoat = new RecreationalBoat(); string phrase = recreationalBoat.Description(); Console.WriteLine(phrase); phrase = recreationalBoat.UsedFor(); Console.WriteLine(phrase); phrase = recreationalBoat.CatchPhrase(); Console.WriteLine(phrase); Console.WriteLine(" "); }