diff options
| author | Charlie Blake | 2018-06-15 11:17:07 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-06-15 11:17:07 +0100 |
| commit | 20a7338d16c0e0cdf247ff9921119f28d5a4b470 (patch) | |
| tree | a59c1df1680b0bf6449e5fd2cf4d34ea8a41f435 /src/test/test_helper.cpp | |
| parent | Merge pull request #61 from thecharlesblake/parallelise-solvability (diff) | |
| download | metasol-20a7338d16c0e0cdf247ff9921119f28d5a4b470.tar.gz metasol-20a7338d16c0e0cdf247ff9921119f28d5a4b470.zip | |
Fixed test bug
Diffstat (limited to 'src/test/test_helper.cpp')
| -rw-r--r-- | src/test/test_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_helper.cpp b/src/test/test_helper.cpp index e594c38..b58c410 100644 --- a/src/test/test_helper.cpp +++ b/src/test/test_helper.cpp @@ -23,7 +23,7 @@ bool test_helper::is_solvable(const std::string& input_file, const std::string& const sol_rules rules = rules_parser::from_preset(preset_type); game_state gs(rules, in_doc); - solver sol(gs); + solver sol(gs, 1000000); return sol.run() == solver::sol_state::solved; } @@ -46,7 +46,7 @@ void test_helper::run_foundations_dominance_test(sol_rules::build_policy policy, {"4D","3D","2D","AD"} }); - solver sol(gs); + solver sol(gs, 1000000); sol.run(); solver::node const *n = &sol.get_search_tree(); |
