summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
blob: f520339fef123e134f09ffbea80e876541a0395b (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 
 */

#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