

def test_make_clique_bipartite(self):
    G = self.G
    B = nx.make_clique_bipartite(G)
    assert_equal(sorted(B), [(- 5), (- 4), (- 3), (- 2), (- 1), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
    H = nx.project(B, range(1, 12))
    assert_equal(H.adj, G.adj)
    H1 = nx.project(B, range((- 5), 0))
    H1 = nx.relabel_nodes(H1, {(- v): v for v in range(1, 6)})
    assert_equal(sorted(B), [1, 2, 3, 4, 5])

dataset/ETHPy150Open networkx/networkx/networkx/algorithms/tests/test_clique.py TestCliques.test_make_clique_bipartite/VarMisuse@159/180 `H1`->`B`