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

namespace scl::hpptest
{
	typedef bool condition_type;

	template <condition_type expr = true>
	consteval inline void must_pass()
	{
#ifdef SCL_HPPTEST
		SCL_HPPTEST_ASSERT(expr);
#endif
	}
} // namespace scl::hpptest