- s8.insert(s8.begin(), 2, _T('c'));
-
- CPPUNIT_ASSERT( s1 == _T("accaaa") );
- CPPUNIT_ASSERT( s2 == _T("aacdeaa") );
- CPPUNIT_ASSERT( s3 == _T("aacdefgaa") );
- CPPUNIT_ASSERT( s4 == _T("aafgaa") );
- CPPUNIT_ASSERT( s5 == _T("accaaa") );
- CPPUNIT_ASSERT( s6 == _T("aaaXa") );
- CPPUNIT_ASSERT( s7 == _T("cdefaaaa") );
- CPPUNIT_ASSERT( s8 == _T("ccaaaa") );
-
- s1 = s2 = s3 = _T("aaaa");
- s1.insert(0, _T("ccc"), 2);
- s2.insert(4, _T("ccc"), 2);
-
- CPPUNIT_ASSERT( s1 == _T("ccaaaa") );
- CPPUNIT_ASSERT( s2 == _T("aaaacc") );
+ s8.insert(s8.begin(), 2, wxT('c'));
+
+ CPPUNIT_ASSERT_EQUAL( wxT("accaaa") , s1 );
+ CPPUNIT_ASSERT_EQUAL( wxT("aacdeaa") , s2 );
+ CPPUNIT_ASSERT_EQUAL( wxT("aacdefgaa"), s3 );
+ CPPUNIT_ASSERT_EQUAL( wxT("aafgaa") , s4 );
+ CPPUNIT_ASSERT_EQUAL( wxT("accaaa") , s5 );
+ CPPUNIT_ASSERT_EQUAL( wxT("aaaXa") , s6 );
+ CPPUNIT_ASSERT_EQUAL( wxT("cdefaaaa") , s7 );
+ CPPUNIT_ASSERT_EQUAL( wxT("ccaaaa") , s8 );
+
+ s1 = s2 = s3 = wxT("aaaa");
+ s1.insert(0, wxT("ccc"), 2);
+ s2.insert(4, wxT("ccc"), 2);
+
+ CPPUNIT_ASSERT_EQUAL( wxT("ccaaaa"), s1 );
+ CPPUNIT_ASSERT_EQUAL( wxT("aaaacc"), s2 );