update SurroundMap (WIP)

This commit is contained in:
MihailRis
2024-08-28 11:41:04 +03:00
parent c2ac6ac54a
commit cf3f263f72
3 changed files with 140 additions and 8 deletions
+6
View File
@@ -3,5 +3,11 @@
#include "world/generator/SurroundMap.hpp"
TEST(SurroundMap, InitTest) {
int w = 8;
int h = 8;
SurroundMap map;
map.createEntry({w/2, h/2});
map.createEntry({w/2+1, h/2+1});
EXPECT_EQ(map.upgrade().size(), 12);
}