def test_disconnected_graph(self):
        eq_(wiener_index(empty_graph(2)), float('inf'))
Tests that the Wiener index of a disconnected graph is
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/tests/test_wiener.py/TestWienerIndex.test_disconnected_graph