]> git.saurik.com Git - wxWidgets.git/commitdiff
Enable wxAny<double>::GetAs<unsigned long>() test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 May 2013 01:45:42 +0000 (01:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 May 2013 01:45:42 +0000 (01:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/any/anytest.cpp

index 75de2f0212dc0ca59dc9d8a961f4fc0ce95d9244..d8fd72069a20e1fcfb017d090a930123aafbe574 100644 (file)
@@ -409,10 +409,10 @@ void wxAnyTestCase::GetAs()
     res = m_anyDoubleDouble1.GetAs(&l);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT(l == static_cast<signed long>(123));
     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));
     res = m_anyDoubleDouble1.GetAs(&ul);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_EQUAL(ul, static_cast<unsigned long>(123));
+#ifndef wxDONT_TEST
     res = m_anyDoubleDouble1.GetAs(&s);
     CPPUNIT_ASSERT(res);
     double d2;
     res = m_anyDoubleDouble1.GetAs(&s);
     CPPUNIT_ASSERT(res);
     double d2;