test/dfs_test.cc
branch1.0
changeset 333 58f1a3144134
parent 286 da414906fe21
child 420 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);