]> git.saurik.com Git - wxWidgets.git/commitdiff
Re-enable yet another hopefully harmless test in wxAny test case.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 May 2013 14:32:50 +0000 (14:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 May 2013 14:32:50 +0000 (14:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/any/anytest.cpp

index 3981f3d69dd127f71960790b8c808605299e11bd..cf6c16dd1dfe19571d99665f1ed9426a196d2ca9 100644 (file)
@@ -414,12 +414,10 @@ void wxAnyTestCase::GetAs()
     CPPUNIT_ASSERT_EQUAL(ul, static_cast<unsigned long>(123));
     res = m_anyDoubleDouble1.GetAs(&s);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_EQUAL(ul, static_cast<unsigned long>(123));
     res = m_anyDoubleDouble1.GetAs(&s);
     CPPUNIT_ASSERT(res);
-#ifndef wxDONT_TEST
     double d2;
     res = s.ToDouble(&d2);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_DOUBLES_EQUAL(d2, TEST_FLOAT_CONST, FEQ_DELTA);
     double d2;
     res = s.ToDouble(&d2);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_DOUBLES_EQUAL(d2, TEST_FLOAT_CONST, FEQ_DELTA);
-#endif // !wxDONT_TEST
 }
 
 
 }