mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	actually a radius now.. although not really
This commit is contained in:
		@@ -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));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user