CurveImpl curve1 = pf.createCurve(tLineList1);
CurveImpl curve2 = pf.createCurve(tLineList2);
ArrayList<OrientableCurve> curveList = new ArrayList<OrientableCurve>();
curveList.add(curve1);
curveList.add(curve2);
CompositeCurve compcurve = complf.createCompositeCurve(curveList);
assertNotNull(compcurve);
double[] dp = compcurve.getEnvelope().getLowerCorner().getCoordinate();
assertEquals(dp[0], 20.0);
assertEquals(dp[1], 20.0);
dp = compcurve.getEnvelope().getUpperCorner().getCoordinate();
assertEquals(dp[0], 100.0);
assertEquals(dp[1], 80.0);
// test equals
assertTrue(compcurve.equals(new CompositeCurveImpl(curveList)));
}