first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
18
libraries/M5Utility/test/helper.hpp
Normal file
18
libraries/M5Utility/test/helper.hpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
/*
|
||||
UnitTest for M5Utility
|
||||
*/
|
||||
#ifndef TEST_HEKPER_HPP
|
||||
#define TEST_HEKPER_HPP
|
||||
|
||||
// catch2 STATIC_REQUIRE
|
||||
#define STATIC_EXPECT_TRUE(constexpr_cond) \
|
||||
do { \
|
||||
static_assert((constexpr_cond), "Occurrence of compile-time assertion"); \
|
||||
} while (0)
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue