@Test
public void testIntersects2() {
System.out.println("Intersects with a rotated copy (90°) of itself (expected true)");
FreedomPolygon source = new FreedomPolygon();
source.append(new FreedomPoint(0, 0));
source.append(new FreedomPoint(100, 0));
source.append(new FreedomPoint(100, 50));
source.append(new FreedomPoint(0, 50));
FreedomPolygon target = new FreedomPolygon();
target.append(new FreedomPoint(0, 0));
target.append(new FreedomPoint(0, 100));
target.append(new FreedomPoint(-50, 100));
target.append(new FreedomPoint(-50, 0));
boolean expResult = true;
boolean result = TopologyUtils.intersects(source, target);
assertEquals(expResult, result);
}