summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
blob: 4c99ce648bdb9f10eaa6d8db114d0cfc0c5edb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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