10#include "mem/forward.h"
41 CPPUNIT_ASSERT(something);
42 CPPUNIT_ASSERT_EQUAL(something->aValue, 0);
43 something->aValue = 5;
44 Pool->freeOne(something);
48 CPPUNIT_ASSERT_EQUAL(otherthing, something);
49 CPPUNIT_ASSERT_EQUAL(otherthing->aValue, 0);
50 Pool->freeOne(otherthing);
59 CPPUNIT_ASSERT(something);
60 CPPUNIT_ASSERT_EQUAL(something->aValue, 0);
61 something->aValue = 5;
66 CPPUNIT_ASSERT_EQUAL(otherthing, something);
67 CPPUNIT_ASSERT_EQUAL(otherthing->aValue, 0);
#define memPoolCreate
Creates a named MemPool of elements with the given size.
MEMPROXY_CLASS(MoreToAlloc)
CPPUNIT_TEST_SUITE_REGISTRATION(testMem)