get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ private:
|
||||
void DoTest(Stream& s)
|
||||
{
|
||||
s.PutC('x');
|
||||
WX_ASSERT_SIZET_EQUAL( 1, s.LastWrite() );
|
||||
CPPUNIT_ASSERT_EQUAL( 1, s.LastWrite() );
|
||||
|
||||
s.SeekI(0);
|
||||
CPPUNIT_ASSERT_EQUAL( int('x'), s.GetC() );
|
||||
|
Reference in New Issue
Block a user