boost_no_print_int128.h raw
1 // Copyright (c) 2025 The Limenka developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef LIMENKA_TEST_UTIL_BOOST_NO_PRINT_INT128_H
6 #define LIMENKA_TEST_UTIL_BOOST_NO_PRINT_INT128_H
7
8 // CAmount is __int128. Boost.Test's print_log_value cannot resolve an
9 // operator<< for it (builtin type - no ADL), so suppress printing to keep
10 // BOOST_CHECK_EQUAL usable with CAmount values.
11
12 #include <boost/test/tools/detail/print_helper.hpp>
13
14 BOOST_TEST_DONT_PRINT_LOG_VALUE(__int128);
15 BOOST_TEST_DONT_PRINT_LOG_VALUE(unsigned __int128);
16
17 #endif // LIMENKA_TEST_UTIL_BOOST_NO_PRINT_INT128_H
18