def test_random_zero_regular_graph(self):
        G = random_regular_graph(0, 10)
        assert_equal(len(G), 10)
        assert_equal(sum(1 for _ in G.edges()), 0)
Tests that a 0-regular graph has the correct number of nodes and
dataset/ETHPy150Open networkx/networkx/networkx/generators/tests/test_random_graphs.py/TestGeneratorsRandom.test_random_zero_regular_graph