test/dfs_test.cc
changeset 500 97070bd10b98
parent 286 da414906fe21
child 440 88ed40ad0d4f
child 906 e24922c56bc2
equal deleted inserted replaced
5:64701ce25411 6:aafd3da7d5f9
   144 
   144 
   145   Digraph G;
   145   Digraph G;
   146   Node s, t;
   146   Node s, t;
   147 
   147 
   148   std::istringstream input(test_lgf);
   148   std::istringstream input(test_lgf);
   149   digraphReader(input, G).
   149   digraphReader(G, input).
   150     node("source", s).
   150     node("source", s).
   151     node("target", t).
   151     node("target", t).
   152     run();
   152     run();
   153 
   153 
   154   Dfs<Digraph> dfs_test(G);
   154   Dfs<Digraph> dfs_test(G);