code: def test_triangles_int64(input_combo):
      Gnx = input_combo["Gnx"]
      count_legacy_32 = cugraph.triangle_count(Gnx)
  
      graph_file = input_combo["graph_file"]
      G = graph_file.get_graph()
      G.edgelist.edgelist_df = G.edgelist.edgelist_df.astype(
          {"src": "int64", "dst": "int64"}
      )
  
      count_exp_64 = (
          cugraph.triangle_count(G)
          .sort_values("vertex")
          .reset_index(drop=True)
          .rename(columns={"counts": "exp_cugraph_counts"})
      )
      cugraph_exp_triangle_results = count_exp_64[
          "exp_cugraph_counts"
      ].sum()
      assert G.edgelist.edgelist_df["src"].dtype == "int64"
      assert G.edgelist.edgelist_df["dst"].dtype == "int64"
      assert cugraph_exp_triangle_results == count_legacy_32
  
file_path: cugraph/python/cugraph/cugraph/tests/community/test_triangle_count.py
imports: import gc
  import random
  import networkx
  import pytest
  import cudf
  import cugraph
  from cugraph.testing import utils, UNDIRECTED_DATASETS
  from cugraph.datasets import karate_asymmetric
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 4 for calling a global function with example usage: test_triangles_int64(input_combo) without return types