def test_directed(self):
        G = complete_graph(3)
        H = DiGraph(G)
        eq_(2 * wiener_index(G), wiener_index(H))
Tests that each pair of nodes in the directed graph is
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/tests/test_wiener.py/TestWienerIndex.test_directed