mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
actually a radius now.. although not really
This commit is contained in:
parent
700a7f4d35
commit
bb57e6d464
@ -86,9 +86,9 @@ public class ChunkStoreTest {
|
|||||||
HashChunkManager hashChunkManager = new HashChunkManager();
|
HashChunkManager hashChunkManager = new HashChunkManager();
|
||||||
int radius = 2; //Could be anything but drastically changes test time
|
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 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);
|
TestBlock testBlock = new TestBlock(x, y, z, mockWorld);
|
||||||
hashChunkManager.setTrue(testBlock);
|
hashChunkManager.setTrue(testBlock);
|
||||||
Assert.assertTrue(hashChunkManager.isTrue(testBlock));
|
Assert.assertTrue(hashChunkManager.isTrue(testBlock));
|
||||||
|
Loading…
Reference in New Issue
Block a user