Bitcoin Core 31.99.0
P2P Digital Currency
fees_util_tests.cpp
Go to the documentation of this file.
1// Copyright (c) The Bitcoin Core 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#include <util/fees.h>
6
7#include <boost/test/unit_test.hpp>
8
9BOOST_AUTO_TEST_SUITE(fees_util_tests)
10
11BOOST_AUTO_TEST_CASE(fee_rate_estimator_type_to_string)
12{
16}
17
18BOOST_AUTO_TEST_CASE(fee_rate_estimator_type_from_string)
19{
24}
25
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(fee_rate_estimator_type_to_string)
BOOST_CHECK_EQUAL(headers.FindFirst("key"), "value")
#define BOOST_CHECK(expr)
Definition: object.cpp:16
std::string_view FeeRateEstimatorTypeToString(FeeRateEstimatorType feerate_estimator_type)
Definition: fees.cpp:12
FeeRateEstimatorType FeeRateEstimatorTypeFromString(std::string_view feerate_estimator_type)
Definition: fees.cpp:26