diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:24:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:24:20 +0200 |
commit | 84d091346a9fdf26f5dca2cc49a1c592f40fcd05 (patch) | |
tree | 700d5ada6e4f72f545e9019bb848c47e4483ec49 /test/json.cpp | |
parent | 906c4f794e02904325cd61124e41d8868e78d3fa (diff) |
a
Diffstat (limited to 'test/json.cpp')
-rw-r--r-- | test/json.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/json.cpp b/test/json.cpp index 51bc6f80..dfcbd23f 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -11,7 +11,7 @@ void app::test_json() // NOLINT(readability-convert-member-functions-to-static) { bool ret = true; using nlohmann::to_json; - const std::filesystem::path output_dir = "f:/dev/game/build/test/"; + const std::filesystem::path output_dir = "../test/"; { nlohmann::json j; auto atlas = loader.tile_atlas("share/game/images/metal1.tga", {2, 2}); @@ -19,7 +19,7 @@ void app::test_json() // NOLINT(readability-convert-member-functions-to-static) } { Magnum::Math::Vector<2, int> v2i_1{1, 2}; - Vector2 v2i_2{2, 3}; + Vector2i v2i_2{2, 3}; ret &= json_helper::to_json(v2i_1, output_dir/"vec2i_1.json"); ret &= json_helper::to_json(v2i_2, output_dir/"vec2i_2.json"); } |