assertEquals(Double.NaN, pt1.computeAngle(null), 0.1);
assertEquals(0., pt1.computeAngle(ShapeFactory.createPoint(1,0)), 0.1);
assertEquals(Math.PI/2., pt1.computeAngle(ShapeFactory.createPoint(0,1)), 0.1);
assertEquals(Math.PI, pt1.computeAngle(ShapeFactory.createPoint(-1,0)), 0.1);
assertEquals(3.*Math.PI/2., pt1.computeAngle(ShapeFactory.createPoint(0,-1)), 0.1);
pt1.setPoint(1, 1);
assertEquals(0., pt1.computeAngle(ShapeFactory.createPoint(2,1)), 0.1);
assertEquals(Math.PI/2., pt1.computeAngle(ShapeFactory.createPoint(1,2)), 0.1);
assertEquals(Math.PI, pt1.computeAngle(ShapeFactory.createPoint(0,1)), 0.1);