World world = new World(4, 16);
assertEquals(world.getHoverWorldCoords().getX(), -1);
assertEquals(world.getHoverWorldCoords().getY(), -1);
assertTrue(world.setHoverCoords(new Coords(0, 0)));
assertEquals(world.getHoverWorldCoords().getX(), 0);
assertEquals(world.getHoverWorldCoords().getY(), 0);
assertTrue(world.setHoverCoords(new Coords(4, 2)));
assertEquals(world.getHoverWorldCoords().getX(), 4);
assertEquals(world.getHoverWorldCoords().getY(), 2);
assertFalse(world.setHoverCoords(new Coords(4, 2)));
assertEquals(world.getHoverWorldCoords().getX(), 4);
assertEquals(world.getHoverWorldCoords().getY(), 2);
assertFalse(world.setHoverCoords(new Coords(8, 2)));
assertEquals(world.getHoverWorldCoords().getX(), 4);
assertEquals(world.getHoverWorldCoords().getY(), 2);
assertFalse(world.setHoverCoords(new Coords(2, 8)));
assertEquals(world.getHoverWorldCoords().getX(), 4);
assertEquals(world.getHoverWorldCoords().getY(), 2);
assertFalse(world.setHoverCoords(new Coords(-2, 4)));
assertEquals(world.getHoverWorldCoords().getX(), 4);
assertEquals(world.getHoverWorldCoords().getY(), 2);
assertFalse(world.setHoverCoords(new Coords(2, -4)));
assertEquals(world.getHoverWorldCoords().getX(), 4);
assertEquals(world.getHoverWorldCoords().getY(), 2);
assertTrue(world.setHoverCoords(new Coords(2, 6)));
assertEquals(world.getHoverWorldCoords().getX(), 2);
assertEquals(world.getHoverWorldCoords().getY(), 6);
}