From 1d5dc81f9cbd701921c9677a16e5eda0b1b404e2 Mon Sep 17 00:00:00 2001 From: clasher113 Date: Tue, 20 Oct 2026 15:44:31 +0300 Subject: [PATCH] fix tests --- test/world/generator/SurroundMap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/world/generator/SurroundMap.cpp b/test/world/generator/SurroundMap.cpp index 45294fa99..b3f68c0f5 100644 --- a/test/world/generator/SurroundMap.cpp +++ b/test/world/generator/SurroundMap.cpp @@ -38,6 +38,7 @@ TEST(SurroundMap, InitTest) { #include "coders/png.hpp" #include "graphics/core/ImageData.hpp" +#include "io/path.hpp" void visualize(const SurroundMap& map, int mul, int max) { const auto& areaMap = map.getArea(); @@ -59,7 +60,7 @@ void visualize(const SurroundMap& map, int mul, int max) { bytes[(y * w + x) * 3 + 2] = val; } } - png::write_image("test.png", &image); + png::write_image("user:test.png", &image); } TEST(SurroundMap, Visualize) {