summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
blob: 0d6ed39ea10fd5107e834a1b211ad24eb83266c3 (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 (founder@snu.systems)
 * Copyright 2025, Amlal El Mahrouss and SNU Systems Corp.
 */

#pragma once

#ifdef SOCL_HPPTEST
namespace snu::hpptest
{
	typedef bool condition_type;

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