Fixed test case.
This commit is contained in:
parent
1e8dc8019a
commit
26ebf7af33
@ -73,8 +73,8 @@ public class UtilitiesTest {
|
||||
|
||||
@Test
|
||||
public void testWorldToLocalCoordinatesNegative() {
|
||||
assertEquals(new Point2(1, 4), Utilities.worldToLocalChunkCoordinates(-62, -27));
|
||||
assertEquals(new Point2(1, 4), Utilities.worldToLocalChunkCoordinates(new Point2(-62, -27)));
|
||||
assertEquals(new Point2(2, 5), Utilities.worldToLocalChunkCoordinates(-62, -27));
|
||||
assertEquals(new Point2(2, 5), Utilities.worldToLocalChunkCoordinates(new Point2(-62, -27)));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user