Pool test

This commit is contained in:
Pavel Kirienko
2014-04-12 17:34:16 +04:00
parent 95d2328a8c
commit 6f1affa51f
+2
View File
@@ -20,6 +20,8 @@ TEST(DynamicMemory, Basic)
EXPECT_TRUE(poolmgr.addPool(&pool32));
EXPECT_FALSE(poolmgr.addPool(&pool128));
EXPECT_EQ(4 * 2, poolmgr.getNumBlocks());
const void* ptr1 = poolmgr.allocate(16);
EXPECT_TRUE(ptr1);