diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-26 12:28:20 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-26 12:28:20 +0100 |
| commit | 01c6071ac4a64cbee4270a73f0fe88b10b31097d (patch) | |
| tree | 54ec5d0b86046577f1adde4ae4bb5547bdc122aa /dev/lib/tests | |
| parent | a786997f304745ce3766a82be06dc6a5d0c2f02c (diff) | |
feat: important refactors for SCL.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/tests')
| -rw-r--r-- | dev/lib/tests/gtest.hpp | 2 | ||||
| -rw-r--r-- | dev/lib/tests/hpptest.hpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dev/lib/tests/gtest.hpp b/dev/lib/tests/gtest.hpp index deb2ddf..c333d2c 100644 --- a/dev/lib/tests/gtest.hpp +++ b/dev/lib/tests/gtest.hpp @@ -5,4 +5,6 @@ * Copyright 2025, Amlal El Mahrouss */ +#pragma once + #include <gtest/gtest.h> diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp index 87d8f77..333ece3 100644 --- a/dev/lib/tests/hpptest.hpp +++ b/dev/lib/tests/hpptest.hpp @@ -7,7 +7,7 @@ #pragma once -#ifdef OCL_HPPTEST +#ifdef SCL_HPPTEST namespace scl::hpptest { typedef bool condition_type; @@ -15,7 +15,7 @@ namespace scl::hpptest template <condition_type expr = true> consteval inline void must_pass() { - OCL_HPPTEST_ASSERT(expr); + SCL_HPPTEST_ASSERT(expr); } } // namespace scl::hpptest #endif |
