Added cpp test
This commit is contained in:
parent
a6457ee1ec
commit
b7aa097b29
1 changed files with 9 additions and 1 deletions
|
|
@ -66,6 +66,14 @@ TEST(TestManager, TestMultipleSequences)
|
|||
TEST(TestManager, TestDeviceProperties)
|
||||
{
|
||||
kp::Manager mgr;
|
||||
const auto properties = mgr.getDeviceProperties();
|
||||
const vk::PhysicalDeviceProperties properties = mgr.getDeviceProperties();
|
||||
EXPECT_GT(properties.deviceName.size(), 0);
|
||||
}
|
||||
|
||||
TEST(TestManager, TestListDevices)
|
||||
{
|
||||
kp::Manager mgr;
|
||||
const std::vector<vk::PhysicalDevice> devices = mgr.listDevices();
|
||||
EXPECT_GT(devices.size(), 0);
|
||||
EXPECT_GT(devices[0].getProperties().deviceName.size(), 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue