]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/longlong/longlongtest.cpp
Casting fix for events. Needs check by ARM eVC4 users.
[wxWidgets.git] / tests / longlong / longlongtest.cpp
index 5b7920bf879990c03990d53ea10a5cebed698f0a..3d4815db0958732bcea2874aeb852b344fce76d6 100644 (file)
@@ -303,6 +303,9 @@ void LongLongTestCase::ToString()
     a.Negate();
     CPPUNIT_ASSERT( a.ToString() == _T("-1311768467139281697") );
 
+    wxLongLong llMin(LONG_MIN, 0);
+    CPPUNIT_ASSERT( llMin.ToString() == _T("-9223372036854775808") );
+
 #if wxUSE_LONGLONG_WX
     wxLongLongWx a1(a.GetHi(), a.GetLo());
     CPPUNIT_ASSERT( a1.ToString() == _T("-1311768467139281697") );