34353637383940414243
stage.add(layer); } public void testCreationZOrder() { for (int i=0; i < 3; ++i) { Circle c = Kinetic.createCircle(new Vector2d(10,10), 5); layer.add(c); assertEquals(i, c.getZIndex()); } }