]> git.saurik.com Git - wxWidgets.git/commitdiff
Re-enable a single m_anyDoubleDouble1 test in wxAny test case.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 May 2013 21:45:28 +0000 (21:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 May 2013 21:45:28 +0000 (21:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/any/anytest.cpp

index c5ee05de2aeb01f837e800542dc6cbe699634ad8..75de2f0212dc0ca59dc9d8a961f4fc0ce95d9244 100644 (file)
@@ -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<signed long>(123));
+#ifndef wxDONT_TEST
     res = m_anyDoubleDouble1.GetAs(&ul);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_EQUAL(ul, static_cast<unsigned long>(123));