@Test
public void testGetGridCellsAround() {

	GridCell<MapPoint> cell;
	AroundCellIterable<MapPoint> iterable = this.grid.getGridCellsAround(new Point2d(480, 230), Double.POSITIVE_INFINITY);
	AroundCellIterator<MapPoint> iterator = iterable.aroundIterator();
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(7, cell.column());
	assertEquals(0, cell.row());
	assertEquals(3, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(8, cell.column());
	assertEquals(0, cell.row());
	assertEquals(4, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(0, cell.column());
	assertEquals(0, cell.row());
	assertEquals(4, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(0, cell.column());
	assertEquals(7, cell.row());
	assertEquals(5, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(1, cell.column());
	assertEquals(7, cell.row());
	assertEquals(5, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(4, cell.column());
	assertEquals(7, cell.row());
	assertEquals(5, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(5, cell.column());
	assertEquals(7, cell.row());
	assertEquals(5, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(0, cell.column());
	assertEquals(8, cell.row());
	assertEquals(6, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(1, cell.column());
	assertEquals(8, cell.row());
	assertEquals(6, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(4, cell.column());
	assertEquals(8, cell.row());
	assertEquals(6, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(5, cell.column());
	assertEquals(8, cell.row());
	assertEquals(6, iterator.getLevel());
	assertTrue(iterator.hasNext());
	cell = iterator.next();
	assertNotNull(cell);
	assertEquals(9, cell.column());
	assertEquals(9, cell.row());
	assertEquals(7, iterator.getLevel());
	assertFalse(iterator.hasNext());
}