mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
update SurroundMap (WIP)
This commit is contained in:
parent
c2ac6ac54a
commit
cf3f263f72
3 changed files with 140 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue