public void BuildLoop()
        {
            RollerCoasterMaker game = new RollerCoasterMaker();

            for (int i = 0; i < 10; i++)
            {
                game.BuildStright();
            }
            game.BuildLoop();

            Assert.AreEqual(false, game.builder.lastBuildActionFail);
        }
Example #2
0
        static void Main(string[] args)
        {
            RollerCoasterMaker game = new RollerCoasterMaker();

            game.BuildUpward();
            game.BuildDownward();
            game.BuildLoop();
            game.Back();
            game.BuildStright();
            game.BuildStright();
            game.BuildStright();
        }