diff options
| author | Charlie Blake | 2018-07-03 14:51:07 +0100 |
|---|---|---|
| committer | GitHub | 2018-07-03 14:51:07 +0100 |
| commit | b7953f5b0a5d155fc87e9ec5b17525d9ac42c6b7 (patch) | |
| tree | e220211c8313be2b25f1aebf537ffbf4a352f1db /src/test/test_helper.h | |
| parent | Merge pull request #71 from thecharlesblake/correct-klondike (diff) | |
| parent | Tidy up stock rep and amend broken unit tests (diff) | |
| download | metasol-b7953f5b0a5d155fc87e9ec5b17525d9ac42c6b7.tar.gz metasol-b7953f5b0a5d155fc87e9ec5b17525d9ac42c6b7.zip | |
Merge pull request #72 from thecharlesblake/k-plus-stock
K plus stock
Diffstat (limited to 'src/test/test_helper.h')
| -rw-r--r-- | src/test/test_helper.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/test/test_helper.h b/src/test/test_helper.h index 3df9ead..564310e 100644 --- a/src/test/test_helper.h +++ b/src/test/test_helper.h @@ -17,7 +17,18 @@ 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 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>&); }; |
