code: def test_create_homogeneous_sampled_graphs_from_dataframe_csc():
      df = get_dummy_sampled_df_csc()
      batches = create_homogeneous_sampled_graphs_from_dataframe_csc(df)
  
      assert len(batches) == 3
      assert torch.equal(
          batches[0][0], torch.IntTensor([26, 29, 33, 22]).cuda()
      )
      assert torch.equal(
          batches[1][0], torch.IntTensor([23, 32, 18, 29, 33]).cuda()
      )
      assert torch.equal(
          batches[2][0], torch.IntTensor([33, 8, 30, 32]).cuda()
      )
  
file_path: cugraph/python/cugraph-dgl/tests/test_utils.py
imports: import cudf
  import cupy
  import numpy
  from cugraph_dgl.dataloading.utils.sampling_helpers import cast_to_tensor, _get_renumber_map, _split_tensor, _get_tensor_d_from_sampled_df, create_homogeneous_sampled_graphs_from_dataframe, _get_source_destination_range, _create_homogeneous_cugraph_dgl_nn_sparse_graph, create_homogeneous_sampled_graphs_from_dataframe_csc
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 9 for calling a global function with example usage: test_create_homogeneous_sampled_graphs_from_dataframe_csc() without return types