changeset 1303 | 1ba759c76810 |
parent 1271 | fb1c7da561ce |
1.1 --- a/test/tsp_test.cc Thu Oct 24 13:04:00 2013 +0200 1.2 +++ b/test/tsp_test.cc Wed Jan 22 15:28:03 2014 +0100 1.3 @@ -132,7 +132,8 @@ 1.4 unsigned nsize = n; 1.5 int esize = n <= 1 ? 0 : n; 1.6 1.7 - TSP alg(g, constMap<Edge, int>(1)); 1.8 + ConstMap<Edge, int> cost_map(1); 1.9 + TSP alg(g, cost_map); 1.10 1.11 check(alg.run() == esize, alg_name + ": Wrong total cost"); 1.12 check(alg.tourCost() == esize, alg_name + ": Wrong total cost");