diff options
| author | Charlie Blake | 2018-06-10 00:30:55 +0100 |
|---|---|---|
| committer | GitHub | 2018-06-10 00:30:55 +0100 |
| commit | d82642305dbcf53262ff41705a41c6e7c1591161 (patch) | |
| tree | b2bbe8c0aadaec16280f020e55eb55955be43d3f /src/test/test_helper.h | |
| parent | Merge pull request #58 from thecharlesblake/fin (diff) | |
| parent | Finish refactoring game state class (diff) | |
| download | metasol-d82642305dbcf53262ff41705a41c6e7c1591161.tar.gz metasol-d82642305dbcf53262ff41705a41c6e7c1591161.zip | |
Merge pull request #59 from thecharlesblake/paper-tidy-up
Paper tidy up
Diffstat (limited to 'src/test/test_helper.h')
| -rw-r--r-- | src/test/test_helper.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/test/test_helper.h b/src/test/test_helper.h index b0199af..463a935 100644 --- a/src/test/test_helper.h +++ b/src/test/test_helper.h @@ -9,15 +9,20 @@ #include "../main/game/sol_rules.h" #include "../main/game/card.h" +#include "../main/game/pile.h" +#include "../main/game/move.h" class test_helper { public: 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 run_built_group_test(sol_rules sr, std::initializer_list<pile>, std::vector<move>); + static bool moves_eq(std::vector<move>&, std::vector<move>&); }; +std::ostream& operator <<(std::ostream&, const move&); +std::ostream& operator <<(std::ostream&, const std::vector<move>&); + #endif //SOLVITAIRE_TEST_HELPER_H |
