aboutsummaryrefslogtreecommitdiff
path: root/test/common/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/list.h')
-rw-r--r--test/common/list.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/common/list.h b/test/common/list.h
index 512a4d947e..3026b204c5 100644
--- a/test/common/list.h
+++ b/test/common/list.h
@@ -3,7 +3,7 @@
#include "common/stdafx.h"
#include "common/list.h"
-class ListTestSuite : public CxxTest::TestSuite
+class ListTestSuite : public CxxTest::TestSuite
{
public:
void test_isEmpty_clear( void )
@@ -26,10 +26,10 @@ class ListTestSuite : public CxxTest::TestSuite
list.push_back(17);
list.push_back(33);
list.push_back(-11);
-
+
// Iterate over the list and verify that we encounter the elements in
// the order we expect them to be.
-
+
iter = list.begin();
TS_ASSERT( *iter == 17 );
@@ -56,16 +56,16 @@ class ListTestSuite : public CxxTest::TestSuite
list.push_back(17);
list.push_back(33);
list.push_back(-11);
-
+
// Iterate to after the second element
iter = list.begin();
++iter;
++iter;
-
+
// Now insert some values here
list.insert(iter, 42);
list.insert(iter, 43);
-
+
iter = list.begin();
TS_ASSERT( *iter == 17 );