Exemple #1
0
        public void TestBonusStageObstacle()
        {
            GameController myGame = new GameController();

            ScoreBoard.Initialize(0, 0, 5, "Peak Hours");
            myGame.CurrentBoard.Stage = GameStage.BonusStage;
            myGame.AddObstacle();
            Assert.AreEqual(ObstacleType.Score, myGame.CurrentBoard.Obstacles [0].GetObstacleType);
        }