Exemplo n.º 1
0
        public void GameOver()
        {
            var game = new Game(new Board());

            game.Reset();
            for (int i = 0; i < Game.GameDurationSec; i++)
            {
                game.Tick();
            }

            Assert.False(game.IsOver);

            game.Tick();

            Assert.True(game.IsOver);
        }