assertTrue(geos.getLineStringSize() == 1);
}
@Test
public void testIntersection12() {
MonotonyChain chain1 = new MonotonyChain();
MonotonyChain chain2 = new MonotonyChain();
CPoint p1 = new Coordinate2D(0, 0);
CPoint p2 = new Coordinate2D(1, 0);
CPoint p3 = new Coordinate2D(2, 0);
chain1.add(p1);
chain1.add(p2);
chain2.add(p2);
chain2.add(p3);
PointLineBag geos = chain1.intersection(chain2);
assertTrue(geos.getPointSize() == 1);
assertTrue(geos.getLineStringSize() == 0);