JMW
Aspiring Addon Developer
If you pick two points 90 degrees apart, you know the distance: dis = 2*pi*rad/4. So if the two codes give you different results for this case, at most one can be correct, and you can validate directly with the known truth.
(Kourou --> Overberg - Best I could do)
Yours: 8811 km great circle distances
Mine: 9255 km (Only 5% diff now, not 11% ? )
True ?: 10,007.54339801029 km (but this is straight line distance isn't it ? ^ ^ ^ )