mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 23:43:34 +00:00
adding Vulkan device creation, adding unit tests, adding few API function declarations
This commit is contained in:
11
Tests/Vulkan/DeviceSetup.c
git.filemode.normal_file
11
Tests/Vulkan/DeviceSetup.c
git.filemode.normal_file
@@ -0,0 +1,11 @@
|
||||
#include <unity/unity.h>
|
||||
#include <Pulse.h>
|
||||
|
||||
extern PulseBackend backend;
|
||||
|
||||
void TestDeviceSetup()
|
||||
{
|
||||
PulseDevice device = PulseCreateDevice(backend, NULL, 0);
|
||||
TEST_ASSERT_NOT_EQUAL_MESSAGE(device, PULSE_NULL_HANDLE, PulseVerbaliseErrorType(PulseGetLastErrorType()));
|
||||
PulseDestroyDevice(device);
|
||||
}
|
||||
Reference in New Issue
Block a user