aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_helper.h')
-rw-r--r--src/test/test_helper.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/test_helper.h b/src/test/test_helper.h
index fe7f8c7..24acb5f 100644
--- a/src/test/test_helper.h
+++ b/src/test/test_helper.h
@@ -8,11 +8,23 @@
#include <string>
#include "../main/game/sol_rules.h"
+#include "../main/game/card.h"
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);
};