- 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 );
+ CPPUNIT_ASSERT( a1.Index( wxT("dog") ) == 0 );
+ CPPUNIT_ASSERT( a1.Index( wxT("human") ) == 1 );
+ CPPUNIT_ASSERT( a1.Index( wxT("humann") ) == wxNOT_FOUND );
+ CPPUNIT_ASSERT( a1.Index( wxT("condor") ) == 2 );
+ CPPUNIT_ASSERT( a1.Index( wxT("thermit") ) == 3 );
+ CPPUNIT_ASSERT( a1.Index( wxT("alligator") ) == 4 );
+
+ CPPUNIT_ASSERT( a1.Index( wxT("dog"), /*bCase=*/true, /*fromEnd=*/true ) == 0 );
+ CPPUNIT_ASSERT( a1.Index( wxT("human"), /*bCase=*/true, /*fromEnd=*/true ) == 1 );
+ CPPUNIT_ASSERT( a1.Index( wxT("humann"), /*bCase=*/true, /*fromEnd=*/true ) == wxNOT_FOUND );
+ CPPUNIT_ASSERT( a1.Index( wxT("condor"), /*bCase=*/true, /*fromEnd=*/true ) == 2 );
+ CPPUNIT_ASSERT( a1.Index( wxT("thermit"), /*bCase=*/true, /*fromEnd=*/true ) == 3 );
+ CPPUNIT_ASSERT( a1.Index( wxT("alligator"), /*bCase=*/true, /*fromEnd=*/true ) == 4 );