From 37bc0133c137cdf7fe62e79ac8208ec46096316e Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 14 Aug 2025 19:15:53 +0200 Subject: feat: mk.test tool, test a header file with static asserts. Signed-off-by: Amlal --- dev/lib/except/hpptest.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 dev/lib/except/hpptest.hpp (limited to 'dev/lib/except') diff --git a/dev/lib/except/hpptest.hpp b/dev/lib/except/hpptest.hpp new file mode 100644 index 0000000..5277780 --- /dev/null +++ b/dev/lib/except/hpptest.hpp @@ -0,0 +1,9 @@ +#pragma once + +/// @note Place your static asserts here, for hpptest.py! +#ifdef SOCL_HPPTEST +SOCL_HPPTEST_ASSERT(true); +SOCL_HPPTEST_ASSERT(1 + 1 == 2); +#endif + +/// @brief This header file is meant to be a tutorial on how to use mk.test and its macro framework. -- cgit v1.2.3