implement SurroundMap & update AreaMap2D
This commit is contained in:
@@ -3,5 +3,8 @@
|
||||
#include "world/generator/SurroundMap.hpp"
|
||||
|
||||
TEST(SurroundMap, InitTest) {
|
||||
SurroundMap map(50, 8);
|
||||
int8_t maxLevel = 2;
|
||||
SurroundMap map(50, maxLevel);
|
||||
map.completeAt(25, 25);
|
||||
EXPECT_EQ(map.at(25, 25), maxLevel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user