diff options
| author | Tom Harley | 2019-01-27 15:37:06 +0000 |
|---|---|---|
| committer | Tom Harley | 2019-01-27 15:37:06 +0000 |
| commit | a996283af7c21baaff0e114d58c34db820902c6f (patch) | |
| tree | 2fe5b6f7a800d4a7b8a65ee345f8c98aa138e36b /src/test/test_helper.h | |
| parent | Split code into 3 files (diff) | |
| download | metasol-a996283af7c21baaff0e114d58c34db820902c6f.tar.gz metasol-a996283af7c21baaff0e114d58c34db820902c6f.zip | |
Reorganise repo
All solvitaire content has been shoved into a subdirectory to tidy up the root of the project. This also means solvitaire is treated similarly to other dependencies of the project, and allows other dependencies to be added easily.
There’s also a lot of other work done here, such as usign a thread pool library to manage the running of the voters.
Diffstat (limited to 'src/test/test_helper.h')
| -rw-r--r-- | src/test/test_helper.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/test/test_helper.h b/src/test/test_helper.h deleted file mode 100644 index 89d28cb..0000000 --- a/src/test/test_helper.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// Created by thecharlesblake on 12/26/17. -// - -#ifndef SOLVITAIRE_TEST_HELPER_H -#define SOLVITAIRE_TEST_HELPER_H - -#include <string> - -#include "../main/game/sol_rules.h" -#include "../main/game/card.h" -#include "../main/game/pile.h" -#include "../main/game/move.h" -#include "../main/game/search-state/game_state.h" - -class test_helper { -public: - static bool is_solvable(const std::string&, const std::string&); - static void run_foundations_dominance_test(sol_rules::build_policy policy, - std::vector<card> cards); - static void expected_moves_test(sol_rules sr, std::initializer_list<std::initializer_list<std::string>>, - std::vector<move>); - static void k_plus_stock_test - ( sol_rules sr - , std::initializer_list<std::initializer_list<std::string>> - , std::vector<move> - , move - , pile::size_type - , pile::size_type - , card - , card - ); - static bool moves_eq(std::vector<move>&, std::vector<move>&); - static uint8_t cards_in_founds(game_state&); -}; - -std::ostream& operator <<(std::ostream&, const move&); -std::ostream& operator <<(std::ostream&, const std::vector<move>&); - - -#endif //SOLVITAIRE_TEST_HELPER_H |
