aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen_main.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-26 23:16:25 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-17 16:12:15 +0000
commit66e34e85b1ef3e49ea9290bd69cce2974840fc32 (patch)
tree618a7336e476189da36fb62f0df06e0fdb7b3809 /tests/core_tests/chaingen_main.cpp
parentN-1/N multisig (diff)
downloadmonero-66e34e85b1ef3e49ea9290bd69cce2974840fc32.tar.xz
add multisig core test and factor multisig building blocks
Diffstat (limited to 'tests/core_tests/chaingen_main.cpp')
-rw-r--r--tests/core_tests/chaingen_main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/core_tests/chaingen_main.cpp b/tests/core_tests/chaingen_main.cpp
index 9eba347cd..a7643292b 100644
--- a/tests/core_tests/chaingen_main.cpp
+++ b/tests/core_tests/chaingen_main.cpp
@@ -199,6 +199,23 @@ int main(int argc, char* argv[])
GENERATE_AND_PLAY(gen_rct_tx_pre_rct_altered_extra);
GENERATE_AND_PLAY(gen_rct_tx_rct_altered_extra);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_22_1_2);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_22_2_1);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_33_1_23);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_33_3_21);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_23_1_2);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_23_1_3);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_23_2_1);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_23_2_3);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_45_1_234);
+ GENERATE_AND_PLAY(gen_multisig_tx_valid_89_3_1245789);
+ GENERATE_AND_PLAY(gen_multisig_tx_invalid_23_1__no_threshold);
+ GENERATE_AND_PLAY(gen_multisig_tx_invalid_45_5_23_no_threshold);
+ GENERATE_AND_PLAY(gen_multisig_tx_invalid_22_1__no_threshold);
+ GENERATE_AND_PLAY(gen_multisig_tx_invalid_33_1__no_threshold);
+ GENERATE_AND_PLAY(gen_multisig_tx_invalid_33_1_2_no_threshold);
+ GENERATE_AND_PLAY(gen_multisig_tx_invalid_33_1_3_no_threshold);
+
el::Level level = (failed_tests.empty() ? el::Level::Info : el::Level::Error);
MLOG(level, "\nREPORT:");
MLOG(level, " Test run: " << tests_count);