static size_t GetNumber() { return ms_bars; }
- const wxChar *GetName() const { return m_name; }
+ const wxChar *GetName() const { return m_name.c_str(); }
private:
wxString m_name;
{
CPPUNIT_ASSERT( *it == i + &i );
}
+
+ list1.clear();
+ CPPUNIT_ASSERT( list1.empty() );
+
+ list1.insert(list1.end(), (int *)1);
+ list1.insert(list1.end(), (int *)2);
+ CPPUNIT_ASSERT_EQUAL( (int *)1, list1.front() );
+ CPPUNIT_ASSERT_EQUAL( (int *)2, list1.back() );
}
void ListsTestCase::wxListCtorTest()