From 0652c3284fe12941b28624dbbf5e0862c5d0dbc3 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 15 Jul 2018 19:32:09 -0700 Subject: [PATCH] Descriptor tests --- src/Makefile.test.include | 1 + src/test/descriptor_tests.cpp | 148 ++++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+) create mode 100644 src/test/descriptor_tests.cpp diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 02f20635044..6f401636f52 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -47,6 +47,7 @@ BITCOIN_TESTS =\ test/crypto_tests.cpp \ test/cuckoocache_tests.cpp \ test/denialofservice_tests.cpp \ + test/descriptor_tests.cpp \ test/getarg_tests.cpp \ test/hash_tests.cpp \ test/key_io_tests.cpp \ diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp new file mode 100644 index 00000000000..6d0492e050e --- /dev/null +++ b/src/test/descriptor_tests.cpp @@ -0,0 +1,148 @@ +// Copyright (c) 2018 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 +#include