diff options
| author | Charlie Blake | 2018-07-06 17:27:39 +0100 |
|---|---|---|
| committer | GitHub | 2018-07-06 17:27:39 +0100 |
| commit | 0e685d6e4a343daab945f5fb7d0cf250c077b6ff (patch) | |
| tree | 634eede8d39d3e313c1206cb2b9a6f6205570f8c /src/test/test_helper.cpp | |
| parent | Merge pull request #74 from thecharlesblake/sol-streamliner-variants (diff) | |
| parent | Refactor k-plus impl to simplify and fix deal1 bug (diff) | |
| download | metasol-0e685d6e4a343daab945f5fb7d0cf250c077b6ff.tar.gz metasol-0e685d6e4a343daab945f5fb7d0cf250c077b6ff.zip | |
Merge pull request #75 from thecharlesblake/refactor-rules-json
Refactor rules json
Diffstat (limited to 'src/test/test_helper.cpp')
| -rw-r--r-- | src/test/test_helper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_helper.cpp b/src/test/test_helper.cpp index c85cf39..c4f902e 100644 --- a/src/test/test_helper.cpp +++ b/src/test/test_helper.cpp @@ -18,13 +18,14 @@ using std::vector; using std::ostream; typedef std::initializer_list<std::initializer_list<std::string>> string_il; +typedef game_state::streamliner_options sos; bool test_helper::is_solvable(const std::string& input_file, const std::string& preset_type) { 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, false); + game_state gs(rules, in_doc, sos::NONE); solver sol(gs, 1000000); return sol.run() == solver::sol_state::solved; |
