From a7306f4fd2cfa33a94d305388cc5936cc06c6da4 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Tue, 26 Nov 2019 07:09:40 +0100 Subject: [PATCH] Remove code from List tests --- test/tests/containers/TestList.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/tests/containers/TestList.h b/test/tests/containers/TestList.h index 5fe650da..f827fe8a 100644 --- a/test/tests/containers/TestList.h +++ b/test/tests/containers/TestList.h @@ -190,22 +190,6 @@ class TestList : public Test { it = list3.remove(5); rp3d_test((*it) == 6); - list3.clear(); - list3.add(1); - list3.add(2); - list3.add(3); - list3.add(4); - list3.removeAtAndReplaceWithLast(3); - rp3d_test(list3.size() == 3); - rp3d_test(list3[2] == 3); - list3.removeAtAndReplaceWithLast(1); - rp3d_test(list3.size() == 2); - rp3d_test(list3[0] == 2); - rp3d_test(list3[1] == 3); - list3.removeAtAndReplaceWithLast(0); - rp3d_test(list3.size() == 1); - rp3d_test(list3[0] == 3); - // ----- Test addRange() ----- // List list4(mAllocator);