X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5769cf0f89fa4d076042e9f8dd24a32501280f8c..c2193ac9115470a4ecbc6844bbe19734a8c636ad:/include/wx/cppunit.h diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index a7affd50ae..3b4281cfa1 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -104,6 +104,10 @@ } \ } +// 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)) + // Use this macro to assert with the given formatted message (it should contain // the format string and arguments in a separate pair of parentheses) #define WX_ASSERT_MESSAGE(msg, cond) \