actually a radius now.. although not really

This commit is contained in:
nossr50 2021-04-14 16:38:19 -07:00
parent 700a7f4d35
commit bb57e6d464

View File

@ -86,9 +86,9 @@ public class ChunkStoreTest {
HashChunkManager hashChunkManager = new HashChunkManager();
int radius = 2; //Could be anything but drastically changes test time
for(int x = -radius; x < radius; x++) {
for(int x = -radius; x <= radius; x++) {
for(int y = mockWorld.getMinHeight(); y < mockWorld.getMaxHeight(); y++) {
for(int z = -radius; z < radius; z++) {
for(int z = -radius; z <= radius; z++) {
TestBlock testBlock = new TestBlock(x, y, z, mockWorld);
hashChunkManager.setTrue(testBlock);
Assert.assertTrue(hashChunkManager.isTrue(testBlock));