def test_complete_graph(self):
        n = 10
        G = complete_graph(n)
        eq_(wiener_index(G), n * (n - 1) / 2)
Tests that the Wiener index of the complete graph is simply
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/tests/test_wiener.py/TestWienerIndex.test_complete_graph