diff -r 9eac00ea588f -r dceba191c00d test/arc_look_up_test.cc --- a/test/arc_look_up_test.cc Fri Aug 09 14:07:27 2013 +0200 +++ b/test/arc_look_up_test.cc Fri Aug 09 11:28:17 2013 +0200 @@ -2,7 +2,7 @@ * * This file is a part of LEMON, a generic C++ optimization library. * - * Copyright (C) 2003-2009 + * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * @@ -68,17 +68,17 @@ ListDigraph graph; std::istringstream lgfs(lgf); DigraphReader(graph, lgfs).run(); - + AllArcLookUp lookup(graph); - + int numArcs = countArcs(graph); - + int arcCnt = 0; for(ListDigraph::NodeIt n1(graph); n1 != INVALID; ++n1) for(ListDigraph::NodeIt n2(graph); n2 != INVALID; ++n2) for(ListDigraph::Arc a = lookup(n1, n2); a != INVALID; - a = lookup(n1, n2, a)) - ++arcCnt; + a = lookup(n1, n2, a)) + ++arcCnt; check(arcCnt==numArcs, "Wrong total number of arcs"); return 0;