class_docstr: Unit tests for the global reaching centrality function.
class_docstr_tok: ["Unit","tests","for","the","global","reaching","centrality","function","."]
code: def test_cycle_undirected_unweighted(self):
      G = nx.Graph()
      G.add_edge(1, 2)
      assert nx.global_reaching_centrality(G, weight=None) == 0
  
file_path: networkx/networkx/algorithms/centrality/tests/test_reaching.py
imports: import pytest
  import networkx
label_desc: Use image node_id 7 for calling the TestGlobalReachingCentrality obj's underlying member method code with example usage: obj.test_cycle_undirected_unweighted() without return types