From fa1477e706504f45a7a0f51b9f4b8014ee6a7d8d Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 5 Oct 2021 12:57:20 +0200 Subject: [PATCH] test: 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 be63214c238..d70793ffa92 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -119,8 +119,9 @@ BITCOIN_TESTS =\ test/sanity_tests.cpp \ test/scheduler_tests.cpp \ test/script_p2sh_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 00000000000..5b8b6a725f7 --- /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