HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
test.hpp
1
// Copyright Take Vos 2019-2021.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include <gtest/gtest.h>
8
9
#define STATIC_ASSERT_TRUE(...) \
10
static_assert(__VA_ARGS__, "unit test failed"); \
11
ASSERT_TRUE(__VA_ARGS__)
12
13
#define STATIC_ASSERT_FALSE(...) static_assert(not (__VA_ARGS__), "unit test failed"); \
14
ASSERT_FALSE(__VA_ARGS__)
Generated on Mon Apr 22 2024 12:51:37 for HikoGUI by
1.10.0