sTodo-m5paper-client/libraries/M5Utility/test/helper.hpp
2025-06-30 20:47:33 +02:00

18 lines
478 B
C++

/*
* 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