mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
fix tests
This commit is contained in:
parent
f8101011a0
commit
1d5dc81f9c
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue