public void HelicopterAboutTest() { // Helicopter Instance to be Tested Helicopter h = new Helicopter(); Assert.AreEqual(h.About(), $"This {h.ToString()} has a max altitude of 41000 ft. \nIt's current altitude is 0 ft. \nThis{h.Engine.ToString()}'s engine is not started."); }
public void HelicopterAbout() { //Arrange Helicopter hc = this.Helicopter; //Act // Nothing to act on here. //Assert Assert.AreEqual(hc.About(), $"This {hc.ToString()} has a max altitude of 8000 ft.\nIts current altitude is 0 ft.\n{hc.Engine.ToString()} is not started."); }