diff --git a/test/maps_test.cc b/test/maps_test.cc --- a/test/maps_test.cc +++ b/test/maps_test.cc @@ -22,6 +22,7 @@ #include #include #include +#include #include "test_tools.h" @@ -355,7 +356,7 @@ typedef SmartGraph::Node Item; typedef IterableBoolMap Ibm; - checkConcept, Ibm>(); + checkConcept, Ibm>(); const int num = 10; Graph g; @@ -436,7 +437,7 @@ typedef SmartGraph::Node Item; typedef IterableIntMap Iim; - checkConcept, Iim>(); + checkConcept, Iim>(); const int num = 10; Graph g; @@ -467,13 +468,13 @@ int n = 0; for (Iim::ItemIt it(map1, 0); it != INVALID; ++it) { - check(map1[static_cast(it)] == 0, "Wrong Value"); + check(map1[static_cast(it)] == 0, "Wrong value"); ++n; } check(n == (num + 1) / 2, "Wrong number"); for (Iim::ItemIt it(map1, 1); it != INVALID; ++it) { - check(map1[static_cast(it)] == 1, "Wrong Value"); + check(map1[static_cast(it)] == 1, "Wrong value"); ++n; } check(n == num, "Wrong number"); @@ -524,13 +525,13 @@ int n = 0; for (Ivm::ItemIt it(map1, 0.0); it != INVALID; ++it) { - check(map1[static_cast(it)] == 0.0, "Wrong Value"); + check(map1[static_cast(it)] == 0.0, "Wrong value"); ++n; } check(n == (num + 1) / 2, "Wrong number"); for (Ivm::ItemIt it(map1, 1.0); it != INVALID; ++it) { - check(map1[static_cast(it)] == 1.0, "Wrong Value"); + check(map1[static_cast(it)] == 1.0, "Wrong value"); ++n; } check(n == num, "Wrong number");