diff options
author | fanquake <fanquake@gmail.com> | 2020-04-03 14:58:51 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-04-03 22:47:59 +0800 |
commit | 9e071b00898aedd9632f105a22d976dc6dbc84b1 (patch) | |
tree | dcd9fe18d5f554c5e794776da085f52fd91d1b57 /src/test/gen/crypto_gen.cpp | |
parent | 08c4994969be20ab268faed2793fb4b9f17722ee (diff) |
test: remove rapidcheck integration and tests
Diffstat (limited to 'src/test/gen/crypto_gen.cpp')
-rw-r--r-- | src/test/gen/crypto_gen.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/gen/crypto_gen.cpp b/src/test/gen/crypto_gen.cpp deleted file mode 100644 index ca8c65806f..0000000000 --- a/src/test/gen/crypto_gen.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// 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 <test/gen/crypto_gen.h> - -#include <key.h> - -#include <rapidcheck/gen/Arbitrary.h> -#include <rapidcheck/Gen.h> -#include <rapidcheck/gen/Predicate.h> -#include <rapidcheck/gen/Container.h> - -/** Generates 1 to 20 keys for OP_CHECKMULTISIG */ -rc::Gen<std::vector<CKey>> MultisigKeys() -{ - return rc::gen::suchThat(rc::gen::arbitrary<std::vector<CKey>>(), [](const std::vector<CKey>& keys) { - return keys.size() >= 1 && keys.size() <= 15; - }); -}; |