

def test_cycle_undirected_unweighted(self):
    G = nx.Graph()
    G.add_edge(1, 2)
    assert_equal(nx.global_reaching_centrality(G), 0)

dataset/ETHPy150Open networkx/networkx/networkx/algorithms/centrality/tests/test_reaching.py TestGlobalReachingCentrality.test_cycle_undirected_unweighted/original