diff options
| author | thecharlesblake | 2018-09-29 12:59:37 +0100 |
|---|---|---|
| committer | thecharlesblake | 2018-09-29 15:15:05 +0100 |
| commit | e55ca08eb9b3d46c8bb6fe0158450061c927a3e0 (patch) | |
| tree | 421352cc940c80aa34b234f2abda92534127be6e /src/test/integration_tests/canfield_test.cpp | |
| parent | Fix wrapping logic (diff) | |
| download | metasol-e55ca08eb9b3d46c8bb6fe0158450061c927a3e0.tar.gz metasol-e55ca08eb9b3d46c8bb6fe0158450061c927a3e0.zip | |
Correct legal moves for found base & remove wraps
Diffstat (limited to 'src/test/integration_tests/canfield_test.cpp')
| -rw-r--r-- | src/test/integration_tests/canfield_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/integration_tests/canfield_test.cpp b/src/test/integration_tests/canfield_test.cpp index 006f4fb..0cb14b2 100644 --- a/src/test/integration_tests/canfield_test.cpp +++ b/src/test/integration_tests/canfield_test.cpp @@ -62,16 +62,16 @@ TEST(Canfield, MoveWholePile) { sol_rules sr = rules_parser::from_preset("simple-canfield"); game_state gs(sr, string_il{ - {"3C"},{},{},{}, // Foundations + {"AC"},{},{},{}, // Foundations {},{}, // Stock-waste {}, // Reserve - {"3H","2S","AH"},{"AS"},{"2D"} // Tableau piles + {"2C","AH"},{"3H"},{"3C","2D"} // Tableau piles }); vector<move> actual_moves = gs.get_legal_moves(); vector<move> exp_moves = { - move(move::mtype::built_group, 7, 8, 3), - move(move::mtype::built_group, 8, 9, 1), + move(move::mtype::built_group, 7, 8, 2), + move(move::mtype::regular, 7, 1, 1), }; ASSERT_TRUE(test_helper::moves_eq(exp_moves, actual_moves)) << actual_moves; |
