aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/common/hashmap.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/common/hashmap.h b/test/common/hashmap.h
index 13f630430c..6476005eaf 100644
--- a/test/common/hashmap.h
+++ b/test/common/hashmap.h
@@ -112,20 +112,20 @@ class HashMapTestSuite : public CxxTest::TestSuite
// NB: The usefulness of this example depends strongly on the
// specific hashmap implementation.
// It is constructed to insert multiple colliding elements.
- Common::HashMap<int, int> h;
- h[5] = 1;
- h[32+5] = 1;
- h[64+5] = 1;
- h[128+5] = 1;
+ Common::HashMap<int, int> h;
+ h[5] = 1;
+ h[32+5] = 1;
+ h[64+5] = 1;
+ h[128+5] = 1;
TS_ASSERT(h.contains(5));
TS_ASSERT(h.contains(32+5));
TS_ASSERT(h.contains(64+5));
TS_ASSERT(h.contains(128+5));
- h.erase(32+5);
+ h.erase(32+5);
TS_ASSERT(h.contains(5));
TS_ASSERT(h.contains(64+5));
TS_ASSERT(h.contains(128+5));
- h.erase(5);
+ h.erase(5);
TS_ASSERT(h.contains(64+5));
TS_ASSERT(h.contains(128+5));
h[32+5] = 1;