From 9114b8032cadd17553a07daef49e2272aa4116e9 Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Tue, 3 Jul 2018 14:49:25 +0100 Subject: Tidy up stock rep and amend broken unit tests --- src/test/unit_tests/k_plus_stock_test.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/unit_tests/k_plus_stock_test.cpp b/src/test/unit_tests/k_plus_stock_test.cpp index ea993e3..1507f1d 100644 --- a/src/test/unit_tests/k_plus_stock_test.cpp +++ b/src/test/unit_tests/k_plus_stock_test.cpp @@ -202,7 +202,8 @@ TEST(KPlusStock, RedealKPlus3Waste) { }, { move(move::mtype::stock_k_plus, 0, 3, 5), - move(move::mtype::stock_k_plus, 0, 4, 8) + move(move::mtype::stock_k_plus, 0, 4, 8), + move(move::mtype::regular, 1, 4, 1) }, move(move::mtype::stock_k_plus, 0, 4, 8), 6, 2, @@ -288,7 +289,8 @@ TEST(KPlusStock, RedealKPlusEmptyStock) { }, { move(move::mtype::stock_k_plus, 0, 3, 5), - move(move::mtype::stock_k_plus, 0, 4, 8) + move(move::mtype::stock_k_plus, 0, 4, 8), + move(move::mtype::regular, 1, 4, 1) }, move(move::mtype::stock_k_plus, 0, 3, 5), 8, 0, -- cgit v1.2.1