diff options
| author | Charlie Blake | 2018-06-25 11:50:34 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-06-25 11:50:34 +0100 |
| commit | 2b92783762c2824e519b881afbf5d66a606c394f (patch) | |
| tree | 649ff85cbec5f72ae7a574e28aede71d178cd991 /src/test/test_helper.cpp | |
| parent | Add face up cards json rule (diff) | |
| download | metasol-2b92783762c2824e519b881afbf5d66a606c394f.tar.gz metasol-2b92783762c2824e519b881afbf5d66a606c394f.zip | |
Add card face down unit tests
Diffstat (limited to 'src/test/test_helper.cpp')
| -rw-r--r-- | src/test/test_helper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_helper.cpp b/src/test/test_helper.cpp index ab9e0cb..e1aa0a7 100644 --- a/src/test/test_helper.cpp +++ b/src/test/test_helper.cpp @@ -62,9 +62,9 @@ void test_helper::run_foundations_dominance_test(sol_rules::build_policy policy, ASSERT_TRUE(i->child_moves.empty()); } -void test_helper::run_built_group_test(sol_rules sr, - initializer_list<pile> piles, - vector<move> exp_moves) { +void test_helper::expected_moves_test(sol_rules sr, + initializer_list<pile> piles, + vector<move> exp_moves) { game_state gs(sr, piles); vector<move> actual_moves = gs.get_legal_moves(); |
