'Edge betweenness centrality: C4'

def test_C4(self):

    G = nx.cycle_graph(4)
    b = edge_current_flow_subset(G, list(G), list(G), normalized=True)
    b_answer = edge_current_flow(G, normalized=True)
    for ((s, t), v1) in b_answer.items():
        v2 = b.get((s, t), b.get((t, s)))
        assert_almost_equal(v1, v2)
