From b35dc7236d446c9c8203f16e7f6bdd2eb256cc3e Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:14:33 +0000 Subject: [PATCH] merge bitcoin#23185: Add ParseMoney and ParseScript tests --- src/Makefile.test.include | 3 +- src/test/script_parse_tests.cpp | 55 +++++++++++++++++++++++++++++++++ src/test/util_tests.cpp | 12 +++++++ 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 src/test/script_parse_tests.cpp diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 92e2f086ff..839224e9a1 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -150,8 +150,9 @@ BITCOIN_TESTS =\ test/script_p2sh_tests.cpp \ test/script_p2pk_tests.cpp \ test/script_p2pkh_tests.cpp \ - test/script_tests.cpp \ + test/script_parse_tests.cpp \ test/script_standard_tests.cpp \ + test/script_tests.cpp \ test/scriptnum_tests.cpp \ test/serfloat_tests.cpp \ test/serialize_tests.cpp \ diff --git a/src/test/script_parse_tests.cpp b/src/test/script_parse_tests.cpp new file mode 100644 index 0000000000..5b8b6a725f --- /dev/null +++ b/src/test/script_parse_tests.cpp @@ -0,0 +1,55 @@ +// Copyright (c) 2021 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include +#include