test/bfs_test.cc
changeset 356 99f1bdf8f7db
parent 286 da414906fe21
child 440 88ed40ad0d4f
equal deleted inserted replaced
6:20a73b76a2de 7:b667b48106f1
   142 
   142 
   143   Digraph G;
   143   Digraph G;
   144   Node s, t;
   144   Node s, t;
   145 
   145 
   146   std::istringstream input(test_lgf);
   146   std::istringstream input(test_lgf);
   147   digraphReader(input, G).
   147   digraphReader(G, input).
   148     node("source", s).
   148     node("source", s).
   149     node("target", t).
   149     node("target", t).
   150     run();
   150     run();
   151 
   151 
   152   Bfs<Digraph> bfs_test(G);
   152   Bfs<Digraph> bfs_test(G);