code: def test_heterograph_conversion_edges(idxtype):
      graph_fs = [
          create_heterograph1,
          create_heterograph2,
          create_heterograph3,
          create_heterograph4,
      ]
      for graph_f in graph_fs:
          g = graph_f(idxtype)
          gs = cugraph_dgl.cugraph_storage_from_heterograph(g)
  
          assert_same_num_edges_can_etypes(gs, g)
          assert_same_num_edges_etypes(gs, g)
          assert_same_edge_feats(gs, g)
  
file_path: cugraph/python/cugraph-dgl/tests/test_from_dgl_heterograph.py
imports: import pytest
  from cugraph.utilities.utils import import_optional
  from .utils import assert_same_edge_feats, assert_same_node_feats, assert_same_num_edges_can_etypes, assert_same_num_edges_etypes, assert_same_num_nodes
label_desc: Use image node_id 6 for calling a global function with example usage: test_heterograph_conversion_edges(idxtype) without return types