code: def test_eigenvector_centrality(graph_file):
      eigen_scores = calc_eigenvector(graph_file)
  
      topKNX = topKVertices(eigen_scores, "nx_eigen", 10)
      topKCU = topKVertices(eigen_scores, "cu_eigen", 10)
  
      assert topKNX.equals(topKCU)
  
file_path: cugraph/python/cugraph/cugraph/tests/centrality/test_eigenvector_centrality.py
imports: import gc
  import pytest
  import networkx
  import cugraph
  from cugraph.testing import utils, UNDIRECTED_DATASETS, DEFAULT_DATASETS
  from cugraph.datasets import toy_graph, karate
label_desc: Use image node_id 4 for calling a global function with example usage: test_eigenvector_centrality(graph_file) without return types