public void FixMinZ() { RollerCoasterMaker game = new RollerCoasterMaker(); game.BuildUp(); game.BuildUp(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildDown(); game.BuildDown(); game.BuildDown(); game.BuildDown(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); game.BuildStright(); Assert.AreEqual(game.builder.initialTaskResults, TaskResults.MinZ); Assert.AreEqual(game.builder.lastBuildActionFail, false); }
public void DetectMinZ() { RollerCoasterMaker game = new RollerCoasterMaker(); game.BuildDown(); Assert.AreEqual(game.builder.initialTaskResults, TaskResults.MinZ); }
public void BuildDown() { RollerCoasterMaker game = new RollerCoasterMaker(); game.BuildUp(); game.BuildDown(); Assert.AreEqual(70, game.coaster.TrackCount); }