From d5fedaffc064b0c97cc6e5e3123b3eb045515b17 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 18 Oct 2022 12:39:55 +0200 Subject: a --- test/json.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/json.cpp b/test/json.cpp index 67e23e01..73958b5e 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -13,9 +13,9 @@ namespace floormat { static chunk make_test_chunk() { - auto metal1 = loader.tile_atlas("share/game/images/metal1.tga", {2, 2}), - metal2 = loader.tile_atlas("share/game/images/metal2.tga", {2, 2}), - tiles = loader.tile_atlas("share/game/images/tiles.tga", {8, 5}); + auto metal1 = loader.tile_atlas("metal1.tga", {2, 2}), + metal2 = loader.tile_atlas("metal2.tga", {2, 2}), + tiles = loader.tile_atlas("tiles.tga", {8, 5}); constexpr auto N = TILE_MAX_DIM; chunk c; for (auto& [x, k, pt] : c) { @@ -33,7 +33,7 @@ bool app::test_json() // NOLINT(readability-convert-member-functions-to-static) { const std::filesystem::path output_dir = "../test/."; { - auto atlas = loader.tile_atlas("share/game/images/metal1.tga", {2, 2}); + auto atlas = loader.tile_atlas("metal1.tga", {2, 2}); json_helper::to_json(atlas, output_dir/"atlas.json"); } { -- cgit v1.2.3