mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 23:24:34 +00:00
96688de170
Since the API can accept vulkan-hpp types in a few places, it is good to have tests for those places. While the current test suite isn't exhaustive, it is enough to get the ball rolling. This PR also refactors some of the 'setup' logic for the tests into a separate file so that the hpp tests can make use of them.
19 lines
393 B
C++
19 lines
393 B
C++
#pragma once
|
|
|
|
#include <algorithm>
|
|
|
|
#include "vulkan_mock.hpp"
|
|
|
|
#include <catch2/catch_test_macros.hpp>
|
|
|
|
|
|
vkb::Instance get_instance(uint32_t minor_version = 0);
|
|
|
|
vkb::Instance get_headless_instance(uint32_t minor_version = 0);
|
|
|
|
VkExtensionProperties get_extension_properties(const char* extName);
|
|
|
|
VulkanMock& get_and_setup_default();
|
|
|
|
VulkanMock::SurfaceDetails get_basic_surface_details();
|