vk-bootstrap/tests/vulkan_mock_setup.hpp
Charles Giessen 96688de170 Add vulkan-hpp tests
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.
2024-07-01 09:54:16 -05:00

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();