aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_helper.cpp2
-rw-r--r--src/test/unit_tests/legal_move_gen_test.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_helper.cpp b/src/test/test_helper.cpp
index eaa0aba..ab9e0cb 100644
--- a/src/test/test_helper.cpp
+++ b/src/test/test_helper.cpp
@@ -22,7 +22,7 @@ bool test_helper::is_solvable(const std::string& input_file, const std::string&
const Document in_doc = json_helper::get_file_json(input_file);
const sol_rules rules = rules_parser::from_preset(preset_type);
- game_state gs(rules, in_doc);
+ game_state gs(rules, in_doc, false);
solver sol(gs, 1000000);
return sol.run() == solver::sol_state::solved;
diff --git a/src/test/unit_tests/legal_move_gen_test.cpp b/src/test/unit_tests/legal_move_gen_test.cpp
index f9ff52e..de6733e 100644
--- a/src/test/unit_tests/legal_move_gen_test.cpp
+++ b/src/test/unit_tests/legal_move_gen_test.cpp
@@ -253,7 +253,6 @@ TEST(LegalMoveGen, Cells) {
vector<move> actual_moves = gs.get_legal_moves();
vector<move> exp_moves = {
- move(move::mtype::regular, 0, 1),
move(move::mtype::regular, 0, 2),
move(move::mtype::regular, 2, 1)
};