10#include <boost/test/unit_test.hpp>
15 const std::vector<std::pair<std::string,std::string>>
IN_OUT{
44 for (
const auto& [in, out] :
IN_OUT) {
BOOST_CHECK_EXCEPTION predicates to check the specific validation error.
CScript ParseScript(const std::string &s)
BOOST_AUTO_TEST_SUITE_END()
std::string HexStr(const std::span< const uint8_t > s)
Convert a span of bytes to a lower-case hexadecimal string.
#define BOOST_CHECK_EQUAL(v1, v2)
BOOST_AUTO_TEST_CASE(parse_script)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.