LUMIERA.clone/tests/15mpool.tests
Christian Thaeter 2a9d59ccd0 WIP: pooled allocator, initial version
* creating and allocating, freeing elements
 * live objects will be destructed when a mpool gets destroyed and a
   destructor was set up
2009-06-04 18:10:25 +02:00

46 lines
501 B
Text

TESTING "Memory pool tests" ./test-mpool
TEST "init/destroy" basic <<END
err: initialized
err: allocated
err: freed
err: destroyed
return: 0
END
TEST "auto destruction" destroy <<END
return: !0
END
TEST "cluster allocation" clusters <<END
return: !0
END
TEST "random usage" random <<END
return: !0
END
TEST "stats" statscheck <<END
return: !0
END
TEST "optimizer" optimize <<END
return: !0
END
TEST "collector" collect <<END
return: !0
END
TEST "reserve" reserve <<END
return: !0
END