summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lib/tests')
-rw-r--r--dev/lib/tests/gtest.hpp8
-rw-r--r--dev/lib/tests/hpptest.hpp22
2 files changed, 30 insertions, 0 deletions
diff --git a/dev/lib/tests/gtest.hpp b/dev/lib/tests/gtest.hpp
new file mode 100644
index 0000000..14474c0
--- /dev/null
+++ b/dev/lib/tests/gtest.hpp
@@ -0,0 +1,8 @@
+/*
+ * File: tests/gtest.hpp
+ * Purpose: Google Test wrapper for the SOCL library.
+ * Author: Amlal El Mahrouss (founder@snu.systems)
+ * Copyright 2025, Amlal El Mahrouss and SNU Systems Corp.
+ */
+
+#include <gtest/gtest.h>
diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp
new file mode 100644
index 0000000..4c99ce6
--- /dev/null
+++ b/dev/lib/tests/hpptest.hpp
@@ -0,0 +1,22 @@
+/*
+ * File: tests/hpptest.hpp
+ * Purpose: HPP Test wrapper for the SOCL library.
+ * Author: Amlal El Mahrouss (founder@snu.systems)
+ * Copyright 2025, Amlal El Mahrouss and SNU Systems Corp.
+ */
+
+#pragma once
+
+
+#ifdef SOCL_HPPTEST
+namespace snu::hpptest
+{
+ typedef bool condition_type;
+
+ template <condition_type expr = true>
+ consteval inline void must_pass()
+ {
+ SOCL_HPPTEST_ASSERT(expr);
+ }
+} // namespace snu::hpptest
+#endif