summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
blob: 05f985a2ef7ae4ef6df9a1723bd9847e48cd6fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * File: tests/hpptest.hpp
 * Purpose: HPP Test wrapper for the OCL library.
 * Author: Amlal El Mahrouss (amlal@nekernel.org)
 * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
 */

#pragma once

namespace ocl::hpptest
{
	typedef bool condition_type;

	template <condition_type expr = true>
	consteval inline void must_pass()
	{
#ifdef OCL_HPPTEST
		OCL_HPPTEST_ASSERT(expr);
#endif
	}
} // namespace ocl::hpptest