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