From 46e31f8be960b9aa00e9bf9218cc712674e4455b Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 14 Feb 2018 20:09:59 +0000 Subject: Add multiple runs test for foundations dominance --- src/test/test_helper.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/test/test_helper.h') diff --git a/src/test/test_helper.h b/src/test/test_helper.h index b0199af..24acb5f 100644 --- a/src/test/test_helper.h +++ b/src/test/test_helper.h @@ -12,11 +12,19 @@ class test_helper { public: + enum class optimisation { + AUTO_FOUNDATION_MOVES + }; + static bool is_solvable(const std::string&, const std::string&); static void run_card_cache_test(sol_rules::build_policy, bool, bool); static void run_foundations_dominance_test(sol_rules::build_policy policy, std::vector cards); + + static void optimisation_validity_test(optimisation); + + static std::vector run_many_games(std::string); }; -- cgit v1.2.1