The existing test set (encodingTests.csv) already includes codes where one
or both coordinates are negative. There is also a set of tests for validity
(validityTests.csv).

We're not aware of any uncovered edge cases (the main edge cases are at 90
degrees latitude and -180/180 degrees longitude), but if you feel there are
additional test cases you are welcome to add them to the test sets in
github (https://github.com/google/open-location-code).

Ngā mihi,
Doug Rinckes, Technical Program Manager, Google Switzerland GmbH; 9GHJ+P88 Z
ürich <https://www.google.com/maps/search/9GHJ%2BP88%20Z%C3%BCrich>


On Sat, 26 May 2018 at 02:03, Jeffrey Friedl <jfri...@gmail.com> wrote:

>
>
> On Saturday, May 26, 2018 at 6:42:26 AM UTC+9, Zongwei Li wrote:
>>
>> What test cases do you feel are missing from the data set
>> <https://github.com/google/open-location-code/blob/master/test_data/encodingTests.csv>?
>> We would rather improve the existing data set than have another one
>> floating around :).
>>
>>
> The most minimal test set would, for each quadrant of the globe, have a
> code of every valid length (from 2 up to, say, 15), and include all the
> edge cases, and also include a bunch of known-invalid codes that should not
> be recognized as valid.
>
> --
> Public site: http://www.openlocationcode.com/
> Github project: https://github.com/google/open-location-code
> Demo site: http://plus.codes/
> ---
> You received this message because you are subscribed to the Google Groups
> "Plus Codes Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to open-location-code+unsubscr...@googlegroups.com.
> To post to this group, send email to open-location-code@googlegroups.com.
> Visit this group at https://groups.google.com/group/open-location-code.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/open-location-code/08f664ce-21a7-46db-91d2-97b0bed0a58b%40googlegroups.com
> <https://groups.google.com/d/msgid/open-location-code/08f664ce-21a7-46db-91d2-97b0bed0a58b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Public site: http://www.openlocationcode.com/
Github project: https://github.com/google/open-location-code
Demo site: http://plus.codes/
--- 
You received this message because you are subscribed to the Google Groups "Plus 
Codes Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-location-code+unsubscr...@googlegroups.com.
To post to this group, send an email to open-location-code@googlegroups.com.
Visit this group at https://groups.google.com/group/open-location-code.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/open-location-code/CAGFr2L%2BNWnfANFOrLd3xc1jWzvM7Qoc_6mN_LtYD5EtrC5XXmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to