georust / geographiclib-rs

A port of geographiclib in Rust.
MIT License
41 stars 9 forks source link

add Karney's standard unit tests #16

Closed stonylohr closed 3 years ago

stonylohr commented 3 years ago

Most versions of geographiclib (C, C++, Java, JavaScript, Python) use a set of standard unit tests for validation. Search geographiclib code for "GeodSolve0" for examples. I propose adding these tests to the Rust version as well. Total length is roughly 450 lines.

michaelkirk commented 3 years ago

Sounds good to me!