- CPPUNIT_ASSERT( a1.Index( "dog" ) == 0 );
- CPPUNIT_ASSERT( a1.Index( "human" ) == 1 );
- CPPUNIT_ASSERT( a1.Index( "humann" ) == wxNOT_FOUND );
- CPPUNIT_ASSERT( a1.Index( "condor" ) == 2 );
- CPPUNIT_ASSERT( a1.Index( "thermit" ) == 3 );
- CPPUNIT_ASSERT( a1.Index( "alligator" ) == 4 );
+ CPPUNIT_ASSERT( a1.Index( _T("dog") ) == 0 );
+ CPPUNIT_ASSERT( a1.Index( _T("human") ) == 1 );
+ CPPUNIT_ASSERT( a1.Index( _T("humann") ) == wxNOT_FOUND );
+ CPPUNIT_ASSERT( a1.Index( _T("condor") ) == 2 );
+ CPPUNIT_ASSERT( a1.Index( _T("thermit") ) == 3 );
+ CPPUNIT_ASSERT( a1.Index( _T("alligator") ) == 4 );
+
+ wxArrayString a5;
+
+ CPPUNIT_ASSERT( a5.Add( _T("x"), 1 ) == 0 );
+ CPPUNIT_ASSERT( a5.Add( _T("a"), 3 ) == 1 );
+
+ CPPUNIT_ASSERT( COMPARE_4_VALUES( a5, _T("x") ,
+ _T("a") ,
+ _T("a") ,
+ _T("a") ) );