示例#1
0
        public void GIVEN_game_has_a_winner_circle_THEN_game_is_over()
        {
            var game = new TTTGame();

            game.placeCircle(0, 0);
            game.placeCross(1, 0);
            game.placeCircle(0, 1);
            game.placeCross(1, 1);
            game.placeCircle(0, 2);

            Assert.IsTrue(game.isOver());
        }
示例#2
0
        public void GIVEN_new_game_THEN_game_is_not_over()
        {
            var game = new TTTGame();

            Assert.IsFalse(game.isOver());
        }