class_docstr: Unit tests for the multi-source dialect of Dijkstra's shortest
  path algorithms.
class_docstr_tok: ["Unit","tests","for","the","multi-source","dialect","of","Dijkstra","'s","shortest","path","algorithms","."]
code: def test_simple_paths(self):
      G = nx.path_graph(4)
      lengths = nx.multi_source_dijkstra_path_length(G, [0])
      assert lengths == {n: n for n in G}
      paths = nx.multi_source_dijkstra_path(G, [0])
      assert paths == {n: list(range(n + 1)) for n in G}
  
imports: import pytest
  import networkx
  from networkx.utils import pairwise
label_desc: Use image node_id 6 for calling the TestMultiSourceDijkstra obj's underlying member method code with example usage: obj.test_simple_paths() without return types