diff options
-rw-r--r-- | test/json.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/json.cpp b/test/json.cpp index 0ad0c709..d9be8ff3 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -15,27 +15,6 @@ namespace floormat { -#if 0 -static chunk make_test_chunk() -{ - auto metal1 = loader.ground_atlas("metal1", {2, 2}, pass_mode::pass), - metal2 = loader.ground_atlas("metal2", {2, 2}, pass_mode::blocked), - tiles = loader.ground_atlas("tiles", {8, 5}, pass_mode::pass); - constexpr auto N = TILE_MAX_DIM; - world w; - chunk c{w, {}}; - for (auto [x, k, pt] : c) { - x.ground() = { tiles, variant_t(k % tiles->num_tiles()) }; - } - constexpr auto K = N/2; - c[{K, K }].wall_north() = { metal1, 0 }; - c[{K, K }].wall_west() = { metal2, 0 }; - c[{K, K+1}].wall_north() = { metal1, 0 }; - c[{K+1, K }].wall_west() = { metal2, 0 }; - return c; -} -#endif - void test_app::test_json() // NOLINT(readability-convert-member-functions-to-static) { fm_assert(Path::exists(Path::join(loader.TEMP_PATH, "CMakeCache.txt"))); |