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
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user