summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-27 12:28:55 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-08-27 12:31:41 +0200
commitb4f35dbe44e07b597c3e7bb6d7562757069a7cb4 (patch)
tree88af99a2cca9c514536b4b61785fa67b3543429c /dev/lib/tests
parentfbda49eea45ce08b9a72744c04761e1556ebd2fa (diff)
feat: moved SOCL into OCL, without SNU's baggage.v1.0.41
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/tests')
-rw-r--r--dev/lib/tests/gtest.hpp4
-rw-r--r--dev/lib/tests/hpptest.hpp12
2 files changed, 8 insertions, 8 deletions
diff --git a/dev/lib/tests/gtest.hpp b/dev/lib/tests/gtest.hpp
index 14474c0..126ce90 100644
--- a/dev/lib/tests/gtest.hpp
+++ b/dev/lib/tests/gtest.hpp
@@ -1,8 +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.
+ * Author: Amlal El Mahrouss (amlal@nekernel.org)
+ * Copyright 2025, Amlal El Mahrouss
*/
#include <gtest/gtest.h>
diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp
index 0d6ed39..085275f 100644
--- a/dev/lib/tests/hpptest.hpp
+++ b/dev/lib/tests/hpptest.hpp
@@ -1,21 +1,21 @@
/*
* 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.
+ * Author: Amlal El Mahrouss (amlal@nekernel.org)
+ * Copyright 2025, Amlal El Mahrouss
*/
#pragma once
-#ifdef SOCL_HPPTEST
-namespace snu::hpptest
+#ifdef OCL_HPPTEST
+namespace ocl::hpptest
{
typedef bool condition_type;
template <condition_type expr = true>
consteval inline void must_pass()
{
- SOCL_HPPTEST_ASSERT(expr);
+ OCL_HPPTEST_ASSERT(expr);
}
-} // namespace snu::hpptest
+} // namespace ocl::hpptest
#endif