1 #include <boost/test/unit_test.hpp>
5 #include "utilities/static_pool.hpp"
22 BOOST_AUTO_TEST_CASE( static_pool_test
)
24 static_pool
<16*1024> pool
;
26 foo
* f1
= static_cast<foo
*>(pool
.malloc(sizeof(f1
)));
32 BOOST_AUTO_TEST_CASE( static_pool_test_locked
)
34 static_pool
<16*1024> pool(true);
36 foo
* f1
= static_cast<foo
*>(pool
.malloc(sizeof(f1
)));