diff --git a/test/graph_copy_test.cc b/test/graph_copy_test.cc --- a/test/graph_copy_test.cc +++ b/test/graph_copy_test.cc @@ -63,11 +63,11 @@ ListDigraph::NodeMap ncr(to); ListDigraph::ArcMap ecr(to); - DigraphCopy(to, from). - nodeMap(tnm, fnm).arcMap(tam, fam). + digraphCopy(from, to). + nodeMap(fnm, tnm).arcMap(fam, tam). nodeRef(nr).arcRef(er). nodeCrossRef(ncr).arcCrossRef(ecr). - node(tn, fn).arc(ta, fa).run(); + node(fn, tn).arc(fa, ta).run(); for (SmartDigraph::NodeIt it(from); it != INVALID; ++it) { check(ncr[nr[it]] == it, "Wrong copy."); @@ -138,11 +138,11 @@ ListGraph::ArcMap acr(to); ListGraph::EdgeMap ecr(to); - GraphCopy(to, from). - nodeMap(tnm, fnm).arcMap(tam, fam).edgeMap(tem, fem). + graphCopy(from, to). + nodeMap(fnm, tnm).arcMap(fam, tam).edgeMap(fem, tem). nodeRef(nr).arcRef(ar).edgeRef(er). nodeCrossRef(ncr).arcCrossRef(acr).edgeCrossRef(ecr). - node(tn, fn).arc(ta, fa).edge(te, fe).run(); + node(fn, tn).arc(fa, ta).edge(fe, te).run(); for (SmartGraph::NodeIt it(from); it != INVALID; ++it) { check(ncr[nr[it]] == it, "Wrong copy.");