static void ThingsARowBoatCanDo() { RowBoat rowboat = new RowBoat(); Console.WriteLine("-----Does a rowBoat have a Bow?-----"); bool output1 = rowboat.HasBow; Console.WriteLine(output1); Console.WriteLine("-----is a rowBoat Real?-----"); bool output2 = rowboat.IsReal; Console.WriteLine(output2); Console.WriteLine("is a row boat cool?"); bool output3 = rowboat.IsCool; Console.WriteLine(output3); Console.WriteLine("-----can a rowBoat drive?-----"); Console.WriteLine(rowboat.Drives()); Console.WriteLine("-----Can the rowBoat turn on?-----"); Console.WriteLine(rowboat.TurnOn()); Console.WriteLine("-----Can the rowBoat turn off?-----"); Console.WriteLine(rowboat.TurnOff()); Console.WriteLine("price:"); Console.WriteLine(rowboat.Price); }
public void RowBoatCanDrive() { //arrange RowBoat rowboat = new RowBoat(); //act string var = rowboat.Drives(); //assert Assert.Equal("The Boat is going somewhere. and is cool : True", var); }