diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-08 18:47:56 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-08 18:52:00 +0000 |
commit | a333c42cdeab4675c22df25255313752d81a2d4e (patch) | |
tree | 97abd7cc6a0a06375979eebfdc72913b7940bef8 /tests/core_tests/chaingen_main.cpp | |
parent | core_tests: allow setting miner tx max_outs when creating a block (diff) | |
download | monero-a333c42cdeab4675c22df25255313752d81a2d4e.tar.xz |
core_tests: add tests for hard fork behaviors (MRL-0004)
We also replace the --fakechain option with an optional structure
containing details about configuration for the core/blockchain,
for test purposes. This seems more future friendly.
Diffstat (limited to 'tests/core_tests/chaingen_main.cpp')
-rw-r--r-- | tests/core_tests/chaingen_main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/core_tests/chaingen_main.cpp b/tests/core_tests/chaingen_main.cpp index 99ae496e3..40bce1e4e 100644 --- a/tests/core_tests/chaingen_main.cpp +++ b/tests/core_tests/chaingen_main.cpp @@ -168,6 +168,13 @@ int main(int argc, char* argv[]) GENERATE_AND_PLAY(gen_block_reward); + GENERATE_AND_PLAY(gen_v2_tx_mixable_0_mixin); + GENERATE_AND_PLAY(gen_v2_tx_mixable_low_mixin); + GENERATE_AND_PLAY(gen_v2_tx_unmixable_only); + GENERATE_AND_PLAY(gen_v2_tx_unmixable_one); + GENERATE_AND_PLAY(gen_v2_tx_unmixable_two); + GENERATE_AND_PLAY(gen_v2_tx_dust); + std::cout << (failed_tests.empty() ? concolor::green : concolor::magenta); std::cout << "\nREPORT:\n"; std::cout << " Test run: " << tests_count << '\n'; |