| 81 | constexpr auto VERIFY_ALL_PRE_TAPROOT{VERIFY_ALL_PRE_SEGWIT | ScriptVerificationFlags::WITNESS}; |
| 82 | |
| 83 | void check_equal(std::span<const std::byte> _actual, std::span<const std::byte> _expected, bool equal = true) |
| 84 | { |
| 85 | std::span<const uint8_t> actual{reinterpret_cast<const unsigned char*>(_actual.data()), _actual.size()}; |
| 86 | std::span<const uint8_t> expected{reinterpret_cast<const unsigned char*>(_expected.data()), _expected.size()}; |
| 87 | BOOST_CHECK_EQUAL_COLLECTIONS( |
| 88 | actual.begin(), actual.end(), |
| 89 | expected.begin(), expected.end()); |
| 90 | } |
| 91 | |
| 92 | class TestLog |
| 93 | { |
no test coverage detected