google / google/open-location-code
Make tests circular
Open
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 530
- PR merge metrics
- No merged PRs in 30d
Description
The encoding tests should be circular - that is, the encoding test converts coordinates into a code, verify it is the correct code, and _in addition_, if the encoding was correct, it should decode and verify that the bounding box contains the original location.
Similar for the decoding tests, and possibly also the shorten and recover tests.
Contributor guide
Assessment
This issue has not been assessed yet.