From e55ca08eb9b3d46c8bb6fe0158450061c927a3e0 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 29 Sep 2018 12:59:37 +0100 Subject: Correct legal moves for found base & remove wraps --- src/test/integration_tests/canfield_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/integration_tests/canfield_test.cpp') 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 actual_moves = gs.get_legal_moves(); vector 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; -- cgit v1.2.1