public void CheckForWinningSquare_WinIsNotPossible_ReturnsNull()
        {
            Board board = new Board();

            board.Squares[2, 2].State = SquareState.X;
            List <int[]> availableMoves = GameplayHelper.ListEmptySquares(board.Squares);

            var actual = GameplayHelper.CheckForWinningSquare(board.Squares, availableMoves, SquareState.X);

            Assert.Null(actual);
        }
        public void CheckForWinningSquare_WinIsPossible_ReturnsCorrectResult()
        {
            var   expected = new int[] { 0, 1 };
            Board board    = new Board();

            board.Squares[0, 0].State = SquareState.X;
            board.Squares[0, 2].State = SquareState.X;
            List <int[]> availableMoves = GameplayHelper.ListEmptySquares(board.Squares);

            var actual = GameplayHelper.CheckForWinningSquare(board.Squares, availableMoves, SquareState.X);

            Assert.Equal(expected, actual);
        }