Fix issue in tests for Map
This commit is contained in:
parent
65e99add46
commit
b7a2b4bdbd
|
@ -221,7 +221,7 @@ class TestMap : public Test {
|
|||
map3.add(Pair<int, int>(3, 30));
|
||||
rp3d_test(map3.size() == 3);
|
||||
it = map3.begin();
|
||||
map3.remove(it++);
|
||||
it = map3.remove(it);
|
||||
rp3d_test(!map3.containsKey(1));
|
||||
rp3d_test(map3.size() == 2);
|
||||
rp3d_test(it->second == 20);
|
||||
|
|
Loading…
Reference in New Issue
Block a user