Ejemplo n.º 1
0
        public void TestEnd()
        {
            game = new SpeakingGame(0, 0);
            Assert.Equal(false, game.End);
            int max = game.Size;

            game.Index = game.Size;
            Assert.Equal(game.Index, max);
            string last = game.CurrentWord(max);

            Assert.Equal("Game Over", last);
            Assert.True(game.CheckEnd());
        }