#include "wx/longlong.h"
#include "wx/timer.h"
+#if wxUSE_LONGLONG
+
// ----------------------------------------------------------------------------
// helpers for testing
// ----------------------------------------------------------------------------
a.Negate();
CPPUNIT_ASSERT( a.ToString() == _T("-1311768467139281697") );
+ wxLongLong llMin(-2147483647L - 1L, 0);
+ CPPUNIT_ASSERT( llMin.ToString() == _T("-9223372036854775808") );
+
#if wxUSE_LONGLONG_WX
wxLongLongWx a1(a.GetHi(), a.GetLo());
CPPUNIT_ASSERT( a1.ToString() == _T("-1311768467139281697") );
}
+#endif // wxUSE_LONGLONG