code: def test_strong_cc(
      gpubenchmark, dataset_nxresults_strong, cugraph_input_type
  ):
      # NetX returns a list of components, each component being a
      # collection (set{}) of vertex indices
      (
          G,
          dataset_path,
          netx_labels,
          nx_n_components,
          lst_nx_components,
          api_type,
      ) = dataset_nxresults_strong
  
      if not isinstance(cugraph_input_type, cugraph.Graph):
          input_G_or_matrix = utils.create_obj_from_csv(
              dataset_path, cugraph_input_type, edgevals=True
          )
      else:
          input_G_or_matrix = G
      cugraph_labels = cugraph_call(
          gpubenchmark,
          cugraph.strongly_connected_components,
          input_G_or_matrix,
      )
  
      if isinstance(cugraph_input_type, cugraph.Graph):
          assert isinstance(input_G_or_matrix, type(cugraph_input_type))
      else:
          assert isinstance(input_G_or_matrix, cugraph_input_type)
      # while cugraph returns a component label for each vertex;
      cg_n_components = len(cugraph_labels)
  
      # Comapre number of components found
      assert nx_n_components == cg_n_components
  
      lst_nx_components_lens = [len(c) for c in lst_nx_components]
  
      cugraph_vertex_lst = cugraph_labels.values()
      lst_cg_components = sorted(
          cugraph_vertex_lst, key=len, reverse=True
      )
      lst_cg_components_lens = [len(c) for c in lst_cg_components]
  
      # Compare lengths of each component
      assert lst_nx_components_lens == lst_cg_components_lens
  
      # Compare vertices of largest component
      # note that there might be more than one largest component
      nx_vertices = sorted(lst_nx_components[0])
      first_vert = nx_vertices[0]
  
      idx = which_cluster_idx(lst_cg_components, first_vert)
      assert idx != -1, "Check for Nx vertex in cuGraph results failed"
  
      cg_vertices = sorted(lst_cg_components[idx])
      assert nx_vertices == cg_vertices
  
imports: import gc
  import time
  from collections import defaultdict
  import pytest
  import cupy
  import numpy
  import networkx
  from cupyx.scipy.sparse import coo_matrix
  from cupyx.scipy.sparse import csr_matrix
  from cupyx.scipy.sparse import csc_matrix
  from scipy.sparse import coo_matrix
  from scipy.sparse import csr_matrix
  from scipy.sparse import csc_matrix
  from cugraph.utilities import is_nx_graph_type
  import cudf
  import cugraph
  from cugraph.testing import utils, DEFAULT_DATASETS
  from cugraph.datasets import dolphins, netscience, email_Eu_core
label_desc: Use image node_id 13 for calling a global function with example usage: test_strong_cc(gpubenchmark, dataset_nxresults_strong, cugraph_input_type) without return types