open-location-code
open-location-code copied to clipboard
Fix off-by-one errors
Our test cases currently include an off-by-one allowance for all math calculations across the different implementations.
This PR removes that allowance and requires all implementations to have exactly correct results. And it fixes each implementation to produce exactly correct results.
Need to run it on the CI here to see if it is actually correct!