def test_maximal_by_cardinality(self):
        G = nx.complete_graph(5)
        G.add_edge(4, 5)
        clique = max_clique(G)
        assert_greater(len(clique), 1)

        G = nx.lollipop_graph(30, 2)
        clique = max_clique(G)
        assert_greater(len(clique), 2)
Tests that the maximal clique is computed according to maximum
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/approximation/tests/test_clique.py/TestMaxClique.test_maximal_by_cardinality