diff -r dceba191c00d -r fb1c7da561ce test/tsp_test.cc --- a/test/tsp_test.cc Fri Aug 09 11:28:17 2013 +0200 +++ b/test/tsp_test.cc Fri Aug 09 11:29:40 2013 +0200 @@ -66,12 +66,13 @@ FullGraph::NodeMap used(gr, false); int node_cnt = 0; - for (typename Container::const_iterator it = p.begin(); it != p.end(); ++it) { - FullGraph::Node node = *it; - if (used[node]) return false; - used[node] = true; - ++node_cnt; - } + for (typename Container::const_iterator it = p.begin(); it != p.end(); ++it) + { + FullGraph::Node node = *it; + if (used[node]) return false; + used[node] = true; + ++node_cnt; + } return (node_cnt == gr.nodeNum()); } @@ -264,8 +265,10 @@ tspTestSmall > >("Nearest Neighbor"); tspTestSmall > >("Greedy"); tspTestSmall > >("Nearest Insertion"); - tspTestSmall > >("Farthest Insertion"); - tspTestSmall > >("Cheapest Insertion"); + tspTestSmall > > + ("Farthest Insertion"); + tspTestSmall > > + ("Cheapest Insertion"); tspTestSmall > >("Random Insertion"); tspTestSmall > >("Christofides"); tspTestSmall > >("2-opt");