+void StdStringTestCase::StdRiter()
+{
+ const wxString s(_T("fozbar"));
+
+ wxString::const_reverse_iterator ri(s.rbegin());
+ CPPUNIT_ASSERT( _T('r') == *ri );
+ CPPUNIT_ASSERT( _T('a') == *++ri );
+ CPPUNIT_ASSERT( _T('r') == *--ri );
+
+ ri = s.rend();
+ ri--;
+ CPPUNIT_ASSERT( _T('f') == *ri );
+
+ --ri;
+ CPPUNIT_ASSERT( _T('o') == *ri );
+
+ wxString::const_iterator i = ri.base();
+ CPPUNIT_ASSERT( _T('z') == *i );
+}
+