@Test
public void testOffsets() {

	short[][] offsets = getOffsets();
	assertArrayEquals(new short[] {-1, 0}, offsets[0]);
	assertArrayEquals(new short[] {0, -1}, offsets[1]);
	assertArrayEquals(new short[] {0, 1}, offsets[2]);
	assertArrayEquals(new short[] {1, 0}, offsets[3]);
	assertArrayEquals(new short[] {-1, -1}, offsets[4]);
	assertNotNull(offsets[offsets.length - 1]);
}