VoxelEngine/test/world/generator/SurroundMap.cpp
2024-09-10 20:34:26 +03:00

11 lines
231 B
C++

#include <gtest/gtest.h>
#include "world/generator/SurroundMap.hpp"
TEST(SurroundMap, InitTest) {
int8_t maxLevel = 2;
SurroundMap map(50, maxLevel);
map.completeAt(25, 25);
EXPECT_EQ(map.at(25, 25), maxLevel);
}