@Test
public void testFixZIndexForShape() {
MarboardZone zone = new MarboardZone("testFixZIndexForShape");
MarboardWorld.get().addRPZone(zone);
Shape shape = new Dot(0, 0, 0, 0);
assertFalse(shape.has("z"));
zone.add(shape);
assertThat(shape.get("z"), equalTo("1"));
shape = new Dot(2, 2, 2, 2, 20);
assertTrue(shape.has("z"));
zone.add(shape);
assertThat(shape.get("z"), equalTo("20"));
shape = new Dot(3, 3, 3, 3);
assertFalse(shape.has("z"));
zone.add(shape);
assertThat(shape.get("z"), equalTo("21"));
}