diff -r dc9fdf77007f -r f02396423239 src/work/deba/graph_io_test.cc --- a/src/work/deba/graph_io_test.cc Wed Mar 09 14:23:36 2005 +0000 +++ b/src/work/deba/graph_io_test.cc Fri Mar 11 16:29:03 2005 +0000 @@ -1,10 +1,9 @@ #include -#include "map_utils.h" +#include - -#include "graph_reader.h" -#include "graph_writer.h" +#include +#include #include #include @@ -41,8 +40,8 @@ reader.addEdge("newedge", newedge); try { - reader.read(); - } catch (IOException& e) { + reader.run(); + } catch (IOError& e) { cerr << e.what() << endl; } catch (Exception e) { cerr << e.what() << endl; @@ -78,7 +77,7 @@ writer.addNode("source", node_ids.inverse()[3]); // writer.addEdge("elek", edge_ids.inverse()[6]); - writer.write(); + writer.run(); return 0; }