Small change in test of Set

This commit is contained in:
Daniel Chappuis 2021-09-28 20:55:54 +02:00
parent b7a2b4bdbd
commit f2723c6912

View File

@ -231,7 +231,7 @@ class TestSet : public Test {
set3.add(3);
rp3d_test(set3.size() == 3);
auto it = set3.begin();
set3.remove(it++);
it = set3.remove(it);
rp3d_test(!set3.contains(1));
rp3d_test(set3.size() == 2);
rp3d_test(*it == 2);