From: Vadim Zeitlin Date: Wed, 15 May 2013 21:45:28 +0000 (+0000) Subject: Re-enable a single m_anyDoubleDouble1 test in wxAny test case. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/313509870731313f5091a973c3710110761904d4?ds=sidebyside Re-enable a single m_anyDoubleDouble1 test in wxAny test case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index c5ee05de2a..75de2f0212 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -405,11 +405,11 @@ void wxAnyTestCase::GetAs() CPPUNIT_ASSERT(s == "true"); CPPUNIT_ASSERT(!m_anyBool1.GetAs(&f)); -#ifndef wxDONT_TEST // Conversions from floating point type res = m_anyDoubleDouble1.GetAs(&l); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT(l == static_cast(123)); +#ifndef wxDONT_TEST res = m_anyDoubleDouble1.GetAs(&ul); CPPUNIT_ASSERT(res); CPPUNIT_ASSERT_EQUAL(ul, static_cast(123));