def test_order_len_equivlance(self):
        gr = testlib.new_graph()
        assert len(gr) == gr.order()
        assert gr.order() == len( gr.node_neighbors )
Verify the behavior of G.order()
dataset/ETHPy150Open pmatiello/python-graph/tests/unittests-digraph.py/test_digraph.test_order_len_equivlance