new ci scripts and presets

This commit is contained in:
BlackMATov
2022-12-27 16:16:17 +07:00
parent 6a0832803f
commit d75fe30108
27 changed files with 546 additions and 6769 deletions

15
untests/enum_tests.hpp Normal file
View File

@@ -0,0 +1,15 @@
/*******************************************************************************
* This file is part of the "https://github.com/blackmatov/enum.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2020-2022, by Matvey Cherevko (blackmatov@gmail.com)
******************************************************************************/
#include <doctest/doctest.h>
#define STATIC_CHECK(...)\
static_assert(__VA_ARGS__, #__VA_ARGS__);\
CHECK(__VA_ARGS__)
#define STATIC_CHECK_FALSE(...)\
static_assert(!(__VA_ARGS__), "!(" #__VA_ARGS__ ")");\
CHECK(!(__VA_ARGS__))