diff options
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 |
