google / google/open-location-code

Make tests circular

Open
#676 4 comments 0 reactions 1 assignee Claimed by @drinckes View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.