diff options
| author | Charlie Blake | 2018-07-23 12:54:47 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-07-23 14:24:06 +0100 |
| commit | 357fab143bcb41d55fb9060bcfbf257a8586e03c (patch) | |
| tree | b9587585b721b3ec2def674cbb6fc642abab4432 /src/test/integration_tests/canfield_test.cpp | |
| parent | Add foundation wrap logic and fix top-of-waste bug (diff) | |
| download | metasol-357fab143bcb41d55fb9060bcfbf257a8586e03c.tar.gz metasol-357fab143bcb41d55fb9060bcfbf257a8586e03c.zip | |
Small bug fixes inc found. base card & whole piles
Diffstat (limited to 'src/test/integration_tests/canfield_test.cpp')
| -rw-r--r-- | src/test/integration_tests/canfield_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/integration_tests/canfield_test.cpp b/src/test/integration_tests/canfield_test.cpp index 406b23a..cdb6d98 100644 --- a/src/test/integration_tests/canfield_test.cpp +++ b/src/test/integration_tests/canfield_test.cpp @@ -65,12 +65,13 @@ TEST(Canfield, MoveWholePile) { {"3C"},{},{},{}, // Foundations {},{}, // Stock-waste {}, // Reserve - {"2H","3S","AH"},{"AC"},{"2D"} // Tableau piles + {"3H","2S","AH"},{"AS"},{"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, 7, 8, 3), + move(move::mtype::built_group, 8, 9, 1), }; ASSERT_TRUE(test_helper::moves_eq(exp_moves, actual_moves)) << actual_moves; |
