As discussed in this stackoverflow question (https://stackoverflow.com/questions/31964589/geotools-distance-calculation-fails-with-no-convergence-exception-for-several-la) there are sets of points that the current GeoTools Geodisic Calculator fails.
As I discuss in my answer to the question Karny provides what looks like a drop in replacement at http://geographiclib.sourceforge.net/html/java/ with a compatible MIT licence.
The talk page of the [Wikipedia article](https://en.wikipedia.org/wiki/Talk:Geodesics_on_an_ellipsoid#Computations) proposes the following test points. lat1 lon1 lat2 lon2 0.7 0 -0.3 179.7 2.2 0 -1.8 179.6 2.3 0 -2.0 179.6 2.3 0 -1.8 179.8 2.7 0 -2.5 179.7 7.5 0 -7.1 179.8 10.7 0 -10.2 179.8 11.3 0 -10.8 179.7 14.3 0 -14.0 179.9 16.2 0 -15.9 179.6 16.3 0 -16.1 179.5 17.8 0 -17.5 179.9 18.4 0 -18.1 179.8 21.8 0 -21.6 179.6 25.1 0 -24.7 179.7 27.2 0 -27.1 179.5 29.7 0 -29.5 179.7 31.9 0 -31.8 179.6 42.7 0 -42.6 179.6 43.7 0 -43.4 179.9 45.8 0 -45.7 179.9 54.0 0 -53.8 179.9
|