diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-29 14:04:42 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-11 13:38:22 +0000 |
commit | 1224e53b744f8338163998d06b139a3f7a006b08 (patch) | |
tree | c66020c99a64856a21dcc7f924e0bc86ebc3e9bd /tests/core_tests/bulletproofs.h | |
parent | fuzz_tests: add a bulletproof fuzz test (diff) | |
download | monero-1224e53b744f8338163998d06b139a3f7a006b08.tar.xz |
core_tests: add a test for 4-aggregated BP verification
Diffstat (limited to 'tests/core_tests/bulletproofs.h')
-rw-r--r-- | tests/core_tests/bulletproofs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/core_tests/bulletproofs.h b/tests/core_tests/bulletproofs.h index c3a7db2c7..e29b34690 100644 --- a/tests/core_tests/bulletproofs.h +++ b/tests/core_tests/bulletproofs.h @@ -156,6 +156,12 @@ struct gen_bp_txs_invalid_2_and_8_2_and_16_16_1 : public gen_bp_tx_validation_ba }; template<> struct get_test_options<gen_bp_txs_invalid_2_and_8_2_and_16_16_1>: public get_test_options<gen_bp_tx_validation_base> {}; +struct gen_bp_txs_valid_2_and_3_and_2_and_4 : public gen_bp_tx_validation_base +{ + bool generate(std::vector<test_event_entry>& events) const; +}; +template<> struct get_test_options<gen_bp_txs_valid_2_and_3_and_2_and_4>: public get_test_options<gen_bp_tx_validation_base> {}; + struct gen_bp_tx_invalid_not_enough_proofs : public gen_bp_tx_validation_base { bool generate(std::vector<test_event_entry>& events) const; |