code: def test_sg_triangle_count_cudf():
      resource_handle = ResourceHandle()
      graph_props = GraphProperties(
          is_symmetric=True, is_multigraph=False
      )
  
      device_srcs = cudf.Series(
          [0, 1, 1, 2, 2, 2, 3, 4, 1, 3, 4, 0, 1, 3, 5, 5],
          dtype=np.int32,
      )
      device_dsts = cudf.Series(
          [1, 3, 4, 0, 1, 3, 5, 5, 0, 1, 1, 2, 2, 2, 3, 4],
          dtype=np.int32,
      )
      device_weights = cudf.Series(
          [
              0.1,
              2.1,
              1.1,
              5.1,
              3.1,
              4.1,
              7.2,
              3.2,
              0.1,
              2.1,
              1.1,
              5.1,
              3.1,
              4.1,
              7.2,
              3.2,
          ],
          dtype=np.float32,
      )
      # FIXME: Disable the start_list parameter until it is working
      start_list = None
  
      sg = SGGraph(
          resource_handle=resource_handle,
          graph_properties=graph_props,
          src_or_offset_array=device_srcs,
          dst_or_index_array=device_dsts,
          weight_array=device_weights,
          store_transposed=False,
          renumber=True,
          do_expensive_check=False,
      )
  
      d_result = triangle_count(
          resource_handle, sg, start_list, do_expensive_check=True
      )
  
      check_results(d_result)
  
file_path: cugraph/python/pylibcugraph/pylibcugraph/tests/test_triangle_count.py
imports: import pytest
  import cupy
  import numpy
  import cudf
  from pylibcugraph import SGGraph, MGGraph, ResourceHandle, GraphProperties
  from pylibcugraph import triangle_count
label_desc: Use image node_id 3 for calling a global function with example usage: test_sg_triangle_count_cudf() without return types