27 #ifdef UNITTESTS_CATCH
28 #ifdef UNITTESTS_EMBED
35 #ifdef UNITTESTS_DOCTEST
38 #if GCC_VERSION >= 50000
39 #define PRAGMA5(str) _Pragma(#str)
40 #elif defined(__clang__)
41 #define PRAGMA5(str) _Pragma(#str)
47 PRAGMA5(GCC diagnostic push)
48 PRAGMA5(GCC diagnostic ignored
"-Wsuggest-override")
49 #ifdef UNITTESTS_EMBED
52 #include <doctest/doctest.h>
54 PRAGMA5(GCC diagnostic pop)
57 #define TEST_CASE(name, tags) DOCTEST_TEST_CASE(name " " tags)
58 #define SECTION(name) DOCTEST_SUBCASE(name)