* @throws Exception
*/
@Test
public void testSplitPolygon_CutoutBlock() throws Exception {
LineString splitter = (LineString) SplitTestUtil.read("LINESTRING(20 0, 20 30, 30 30, 30 0)");
Polygon splitee = (Polygon) SplitTestUtil.read("POLYGON((10 10, 40 10, 40 40, 10 40, 10 10))");
final Geometry expectedLeft = SplitTestUtil
.read("POLYGON ((20 10, 10 10, 10 40, 40 40, 40 10, 30 10, 30 30, 30 30, 20 30, 20 30, 20 10))");
final Geometry expectedRight = SplitTestUtil.read("POLYGON ((30 10, 20 10, 20 30, 30 30, 30 10))");
testSplitResults(splitee, splitter, new Geometry[] { expectedLeft, expectedRight });
}