Searched refs:testMemoryPool (Results 1 – 2 of 2) sorted by relevance
52 testMemoryPool(staticBlockCount); in TEST() local54 ASSERT_EQ(testMemoryPool.getFreeSpaceCount(), blockSize * maxBlockCount); in TEST()55 ASSERT_EQ(testMemoryPool.getBlockCount(), staticBlockCount); in TEST()63 testMemoryPool; in TEST() local64 ASSERT_EQ(testMemoryPool.getBlockCount(), 1); in TEST()66 ConstructorCount *temp = testMemoryPool.allocate(10); in TEST()69 ASSERT_EQ(testMemoryPool.getFreeSpaceCount(), blockSize * maxBlockCount - 1); in TEST()70 testMemoryPool.deallocate(temp); in TEST()72 ASSERT_EQ(testMemoryPool.getFreeSpaceCount(), blockSize * maxBlockCount); in TEST()81 testMemoryPool(staticBlockCount); in TEST() local[all …]
51 SynchronizedMemoryPool<int, maxSize> testMemoryPool; in TEST() local55 tempDataPtrs[i] = testMemoryPool.allocate(i); in TEST()58 EXPECT_EQ(testMemoryPool.getFreeBlockCount(), blankSpace); in TEST()61 testMemoryPool.deallocate(tempDataPtrs[i]); in TEST()