Add tests for not tested functions.

Change-Id: I02f14d8176fc53eb12b90d5b6145672ef01ccdb0
This commit is contained in:
Mrozek, Michal
2018-04-11 15:53:16 +02:00
committed by sys_ocldev
parent acf97999f3
commit fbad57e843
4 changed files with 36 additions and 6 deletions

View File

@@ -277,3 +277,8 @@ HWTEST_F(TbxCommandStreamTests, givenTbxCommandStreamReceiverWhenFlushIsCalledTh
memoryManager->freeGraphicsMemory(commandBuffer);
memoryManager->freeGraphicsMemory(graphicsAllocation);
}
TEST(TbxMemoryManagerTest, givenTbxMemoryManagerWhenItIsQueriedForSystemSharedMemoryThen1GBIsReturned) {
TbxMemoryManager memoryManager;
EXPECT_EQ(1 * GB, memoryManager.getSystemSharedMemory());
}