From 6650067bb38858163d4bbd5a95bb870154922a26 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 25 Sep 2019 16:08:07 +0200 Subject: [PATCH] Add unit test for dynafed CalculateRoot methods --- src/Makefile.test.include | 1 + src/test/dynafed_tests.cpp | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/test/dynafed_tests.cpp diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 00aa60eaad..8afffc7196 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -131,6 +131,7 @@ BITCOIN_TESTS =\ test/validation_block_tests.cpp \ test/versionbits_tests.cpp \ test/pegin_spent_tests.cpp \ + test/dynafed_tests.cpp \ test/blind_tests.cpp # ELEMENTS IN THE END diff --git a/src/test/dynafed_tests.cpp b/src/test/dynafed_tests.cpp new file mode 100644 index 0000000000..8edfd31d20 --- /dev/null +++ b/src/test/dynafed_tests.cpp @@ -0,0 +1,46 @@ +// Copyright (c) 2017-2017 Blockstream +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include +#include +#include +#include +#include