'Betweenness centrality: P4 normalized'

def test_P4_normalized(self):

    G = nx.path_graph(4)
    b = nx.current_flow_betweenness_centrality_subset(G, list(G), list(G), normalized=True)
    b_answer = nx.current_flow_betweenness_centrality(G, normalized=True)
    for n in sorted(G):
        assert_almost_equal(b[n], b_answer[n])
