diff options
| author | Charlie Blake | 2018-02-15 12:48:35 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-15 12:48:35 +0000 |
| commit | 9e865ef56ff2b90695343e2e5b7be6e05b2c56f4 (patch) | |
| tree | 7cd620ee74084d74d849b44fae2db3897763cadb /src/test/test_helper.h | |
| parent | Merge pull request #37 from thecharlesblake/docs (diff) | |
| parent | Add simple auto-found + works w/ removable founds (diff) | |
| download | metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.tar.gz metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.zip | |
Merge pull request #38 from thecharlesblake/foundation-dominance
Foundation dominance
Diffstat (limited to 'src/test/test_helper.h')
| -rw-r--r-- | src/test/test_helper.h | 12 |
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); }; |
