code: def test_add_edge_list_to_adj_list(graph_file):
      cu_M = utils.read_csv_file(graph_file)
  
      M = utils.read_csv_for_nx(graph_file)
      N = max(max(M["0"]), max(M["1"])) + 1
      M = scipy.sparse.csr_matrix(
          (M.weight, (M["0"], M["1"])), shape=(N, N)
      )
      offsets_exp = M.indptr
      indices_exp = M.indices
  
      # cugraph add_egde_list to_adj_list call
      G = cugraph.Graph(directed=True)
      G.from_cudf_edgelist(
          cu_M, source="0", destination="1", renumber=False
      )
      offsets_cu, indices_cu, values_cu = G.view_adj_list()
      compare_series(offsets_cu, offsets_exp)
      compare_series(indices_cu, indices_exp)
      assert values_cu is None
  
imports: import gc
  import time
  import pytest
  import pandas
  import scipy
  import networkx
  import cupy
  import cudf
  import cugraph
  from cugraph.testing import utils
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
  import dask_cudf
  import cugraph.dask
  from dask.distributed import Client
  from dask_cuda import LocalCUDACluster
  from pylibcugraph import ResourceHandle
  from pylibcugraph import bfs
  from cugraph.dask.traversal.bfs import convert_to_cudf
  from cugraph.dask.common.mg_utils import is_single_gpu
label_desc: Use image node_id 8 for calling a global function with example usage: test_add_edge_list_to_adj_list(graph_file) without return types