code: def test_eigenvector():
      num_edges = 16
      num_vertices = 6
      graph_data = np.genfromtxt(TOY, delimiter=" ")
      src = cp.asarray(graph_data[:, 0], dtype=np.int32)
      dst = cp.asarray(graph_data[:, 1], dtype=np.int32)
      wgt = cp.asarray(graph_data[:, 2], dtype=np.float32)
      result = cp.asarray(
          [0.236325, 0.292055, 0.458457, 0.60533, 0.190498, 0.495942],
          dtype=np.float32,
      )
  
      epsilon = 1e-6
      max_iterations = 200
  
      # Eigenvector requires store_transposed to be True?
      _generic_eigenvector_test(
          src,
          dst,
          wgt,
          result,
          num_vertices,
          num_edges,
          True,
          epsilon,
          max_iterations,
      )
  
imports: import pytest
  import cupy
  import numpy
  from pylibcugraph import ResourceHandle, GraphProperties, SGGraph, eigenvector_centrality
  from pylibcugraph.testing import utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_eigenvector() without return types