Coordinate p1 = new Coordinate(10, 10);
Coordinate p2 = new Coordinate(20, 20);
Coordinate q1 = new Coordinate(20, 10);
Coordinate q2 = new Coordinate(10, 20);
Coordinate x = new Coordinate(15, 15);
i.computeIntersection(p1, p2, q1, q2);
assertEquals(RobustLineIntersector.POINT_INTERSECTION, i.getIntersectionNum());
assertEquals(1, i.getIntersectionNum());
assertEquals(x, i.getIntersection(0));
assertTrue(i.isProper());
assertTrue(i.hasIntersection());