code: def test_bfs_nonnative_inputs_nx(
      single_dataset_goldenresults_startvertex_spc,
  ):
      (
          _,
          _,
          directed,
          golden_values,
          start_vertex,
          _,
      ) = single_dataset_goldenresults_startvertex_spc
  
      cugraph_df = get_resultset(
          resultset_name="traversal",
          algo="bfs_edges",
          graph_dataset="karate",
          graph_directed=str(directed),
          source=str(start_vertex),
      )
  
      compare_func = _compare_bfs
      compare_func(cugraph_df, golden_values, start_vertex)
  
imports: import gc
  import pytest
  import cupy
  import numpy
  from scipy.sparse import coo_matrix
  from scipy.sparse import csr_matrix
  from scipy.sparse import csc_matrix
  import cudf
  import cugraph
  from cupyx.scipy.sparse import coo_matrix
  from cupyx.scipy.sparse import csr_matrix
  from cupyx.scipy.sparse import csc_matrix
  from pylibcugraph.testing.utils import gen_fixture_params_product
  from cugraph.testing import utils, get_resultset, load_resultset, DEFAULT_DATASETS, SMALL_DATASETS
label_desc: Use image node_id 16 for calling a global function with example usage: test_bfs_nonnative_inputs_nx(single_dataset_goldenresults_startvertex_spc) without return types