@Test public void testMoveGeom() throws Exception { TestEditBlackboard bb = new TestEditBlackboard(); EditGeom geom = bb.getGeoms().get(0); PrimitiveShape shell = geom.getShell(); bb.addPoint(10, 10, shell); bb.addPoint(11, 10, shell); bb.addPoint(12, 10, shell); bb.addPoint(13, 10, shell); bb.addPoint(14, 10, shell); bb.moveSelection(1, 0, geom.createSelection()); assertEquals(Point.valueOf(11, 10), shell.getPoint(0)); assertEquals(Point.valueOf(12, 10), shell.getPoint(1)); assertEquals(Point.valueOf(13, 10), shell.getPoint(2)); assertEquals(Point.valueOf(14, 10), shell.getPoint(3)); assertEquals(Point.valueOf(15, 10), shell.getPoint(4)); }