diff options
| author | thecharlesblake | 2018-01-03 12:39:06 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-03 12:39:06 +0000 |
| commit | fa40f6facc5c500cae8bf890e66a7bf5d490387e (patch) | |
| tree | 9b3202e433e5151a38f78084ee843b20edec4f89 /src/test/test_helper.cpp | |
| parent | Major refactor, putting pile logic into game_state (diff) | |
| download | metasol-fa40f6facc5c500cae8bf890e66a7bf5d490387e.tar.gz metasol-fa40f6facc5c500cae8bf890e66a7bf5d490387e.zip | |
Rename util to json_helper
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 9c258a3..59e7584 100644 --- a/src/test/test_helper.cpp +++ b/src/test/test_helper.cpp @@ -7,13 +7,13 @@ #include "test_helper.h" #include "../main/game/game_state.h" #include "../main/solver/solver.h" -#include "../main/util/util.h" +#include "../main/input-output/json_helper.h" using namespace rapidjson; using namespace std; bool test_helper::is_solvable(const std::string& input_file, const std::string& preset_type) { - const Document in_doc = util::get_file_json(input_file); + const Document in_doc = json_helper::get_file_json(input_file); const sol_rules rules = sol_rules::from_preset(preset_type); game_state gs(rules, in_doc); |
