complement assertion

Signed-off-by: ZhangLiang <zhangliang335@h-partners.com>
Change-Id: I8dd93897d36ffe64c92084d1f48953e219914b84
This commit is contained in:
ZhangLiang 2024-09-25 07:24:59 +00:00
parent 78c29f6763
commit aaec3ee4bc

View File

@ -573,6 +573,7 @@ HWTEST_F(VulkanLoaderUnitTest, vkGetPhysicalDeviceSurfaceSupportKHR_Test, TestSi
std::vector<VkBool32> supportsPresent(queueCount_);
for (uint32_t i = 0; i < queueCount_; i++) {
vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice_, i, surface_, &supportsPresent[i]);
EXPECT_EQ(supportsPresent[i], VK_TRUE);
}
}
}