@Test
public void testIntersection() {
for (int i=0;i<50;i++) {
Geoshape point = Geoshape.point(i,i);
Geoshape circle = Geoshape.circle(0.0,0.0,point.getPoint().distance(Geoshape.point(0,0).getPoint())+10);
assertTrue(circle.intersect(point));
assertTrue(point.intersect(circle));
assertTrue(circle.intersect(circle));
}
}