Пример #1
0
 public void InvalidBoardDimension()
 {
     var board = TicTacToeGame.GenerateBoard(new Dimension(11));
 }
Пример #2
0
        public void EmptyBoardXMovesNext()
        {
            var board = TicTacToeGame.GenerateBoard(new Dimension(3));

            Assert.AreEqual(Shapes.X, board.NextMoveShape, "X should move next");
        }
Пример #3
0
 public Player(TicTacToeGame game, Marker playingMarker)
 {
     this.playingMarker = playingMarker;
     this.game          = game;
 }