

def test_chordal_find_cliques_path(self):
    G = nx.path_graph(10)
    cliqueset = nx.chordal_graph_cliques(G)
    for (u, v) in G.edges_iter():
        assert_true(((frozenset([u, v]) in cliqueset) or (frozenset([v, u]) in cliqueset)))

dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/chordal/tests/test_chordal.py TestMCS.test_chordal_find_cliques_path/original