aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helper.h
diff options
context:
space:
mode:
authorthecharlesblake2018-02-14 20:09:59 +0000
committerthecharlesblake2018-02-14 20:09:59 +0000
commit46e31f8be960b9aa00e9bf9218cc712674e4455b (patch)
tree8b8c7078b2be1178447d49336fa34bd66701cdc9 /src/test/test_helper.h
parentUpdate CMake file (diff)
downloadmetasol-46e31f8be960b9aa00e9bf9218cc712674e4455b.tar.gz
metasol-46e31f8be960b9aa00e9bf9218cc712674e4455b.zip

Add multiple runs test for foundations dominance

Diffstat (limited to 'src/test/test_helper.h')
-rw-r--r--src/test/test_helper.h8
1 files changed, 8 insertions, 0 deletions
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<card> cards);
+
+ static void optimisation_validity_test(optimisation);
+
+ static std::vector<bool> run_many_games(std::string);
};