8#include <boost/test/unit_test.hpp>
10BOOST_AUTO_TEST_SUITE(feefrac_tests)
14 FeeFrac p1{1000, 100}, p2{500, 300};
18 [[maybe_unused]]
FeeFrac zero_fee{0, 1};
62 FeeFrac oversized_1{4611686000000, 4000000};
63 FeeFrac oversized_2{184467440000000, 100000};
71 FeeFrac busted{(
static_cast<int64_t
>(INT32_MAX)) + 1, INT32_MAX};
74 FeeFrac max_fee{2100000000000000, INT32_MAX};
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(feefrac_operators)
#define BOOST_CHECK(expr)
Data structure storing a fee and size, ordered by increasing fee/size.