From 357fab143bcb41d55fb9060bcfbf257a8586e03c Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Mon, 23 Jul 2018 12:54:47 +0100 Subject: Small bug fixes inc found. base card & whole piles --- src/test/integration_tests/canfield_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/test') 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 actual_moves = gs.get_legal_moves(); vector 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; -- cgit v1.2.1