Enable wxAny<double>::GetAs<unsigned long>() test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3135098707
commit
d949642d76
@ -409,10 +409,10 @@ void wxAnyTestCase::GetAs()
|
||||
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));
|
||||
#ifndef wxDONT_TEST
|
||||
res = m_anyDoubleDouble1.GetAs(&s);
|
||||
CPPUNIT_ASSERT(res);
|
||||
double d2;
|
||||
|
Loading…
Reference in New Issue
Block a user