correct DateTimeTestCase::TestTimeTicks() [backport of r53902 from trunk]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-01 20:32:26 +00:00
parent 00337417d6
commit 0c2cc3c833
2 changed files with 22 additions and 10 deletions

View File

@@ -87,6 +87,10 @@
// Use this macro to compare a size_t with a literal integer
#define WX_ASSERT_SIZET_EQUAL(n, m) CPPUNIT_ASSERT_EQUAL(((size_t)n), m)
// Use this macro to compare the expected time_t value with the result of not
// necessarily time_t type
#define WX_ASSERT_TIME_T_EQUAL(t, n) CPPUNIT_ASSERT_EQUAL((t), (time_t)(n))
///////////////////////////////////////////////////////////////////////////////
// stream inserter for wxString