From bb57e6d464fe9ed11c07d178779ed379f42540d3 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 14 Apr 2021 16:38:19 -0700 Subject: [PATCH] actually a radius now.. although not really --- .../java/com/gmail/nossr50/util/blockmeta/ChunkStoreTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/gmail/nossr50/util/blockmeta/ChunkStoreTest.java b/src/test/java/com/gmail/nossr50/util/blockmeta/ChunkStoreTest.java index 0812f9142..bafb3f01b 100644 --- a/src/test/java/com/gmail/nossr50/util/blockmeta/ChunkStoreTest.java +++ b/src/test/java/com/gmail/nossr50/util/blockmeta/ChunkStoreTest.java @@ -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));