+void ArraysTestCase::Clear()
+{
+ ItemPtrArray items;
+
+ WX_CLEAR_ARRAY(items);
+ CPPUNIT_ASSERT_EQUAL( 0, items.size() );
+
+ items.push_back(new Item(17));
+ items.push_back(new Item(71));
+ CPPUNIT_ASSERT_EQUAL( 2, items.size() );
+
+ WX_CLEAR_ARRAY(items);
+ CPPUNIT_ASSERT_EQUAL( 0, items.size() );
+}
+