summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
blob: 085275fb8a0b77bf6ee3b4e9d65781ab45442e05 (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 SOCL library.
 * Author: Amlal El Mahrouss (amlal@nekernel.org)
 * Copyright 2025, Amlal El Mahrouss 
 */

#pragma once

#ifdef OCL_HPPTEST
namespace ocl::hpptest
{
	typedef bool condition_type;

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