aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_helper.cpp')
-rw-r--r--src/test/test_helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_helper.cpp b/src/test/test_helper.cpp
index 33a81ca..6cc68aa 100644
--- a/src/test/test_helper.cpp
+++ b/src/test/test_helper.cpp
@@ -28,7 +28,7 @@ bool test_helper::is_solvable(const std::string& input_file, const std::string&
game_state gs(rules, in_doc, sos::NONE);
solver sol(gs, 1000000);
- return sol.run() == solver::sol_state::solved;
+ return sol.run().sol_type == solver::result::type::SOLVED;
}
void test_helper::run_foundations_dominance_test(sol_rules::build_policy policy,