Fixed test case.

This commit is contained in:
Harrison Deng 2020-04-27 14:25:10 -05:00
parent 1e8dc8019a
commit 26ebf7af33

View File

@ -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