code: def test_core_number(input_combo):
      G = input_combo["G"]
      Gnx = input_combo["Gnx"]
      degree_type = input_combo["degree_type"]
      nx_core_number_results = cudf.DataFrame()
  
      dic_results = nx.core_number(Gnx)
      nx_core_number_results["vertex"] = dic_results.keys()
      nx_core_number_results["core_number"] = dic_results.values()
      nx_core_number_results = nx_core_number_results.sort_values(
          "vertex"
      ).reset_index(drop=True)
  
      core_number_results = (
          cugraph.core_number(G, degree_type)
          .sort_values("vertex")
          .reset_index(drop=True)
          .rename(columns={"core_number": "cugraph_core_number"})
      )
  
      # Compare the nx core number results with cugraph
      core_number_results["nx_core_number"] = nx_core_number_results[
          "core_number"
      ]
  
      counts_diff = core_number_results.query(
          "nx_core_number != cugraph_core_number"
      )
      assert len(counts_diff) == 0
  
file_path: cugraph/python/cugraph/cugraph/tests/core/test_core_number.py
imports: import gc
  import pytest
  import networkx
  import cudf
  import cugraph
  from cugraph.testing import utils, UNDIRECTED_DATASETS
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 3 for calling a global function with example usage: test_core_number(input_combo) without return types