code: def check_results(d_result):
      expected_vertex_result = np.array(
          [1, 2, 3, 0, 4, 5], dtype=np.int32
      )
      expected_counts_result = np.array(
          [2, 2, 1, 1, 0, 0], dtype=np.int32
      )
  
      d_vertex_result, d_counts_result = d_result
      h_vertex_result = d_vertex_result.get()
      h_counts_result = d_counts_result.get()
  
      assert np.array_equal(expected_vertex_result, h_vertex_result)
      assert np.array_equal(expected_counts_result, h_counts_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 1 for calling a global function with example usage: check_results(d_result) without return types