mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-28 23:42:59 +03:00
Added test cases for whitespaces in LatLon
This commit is contained in:
parent
244cb0e98c
commit
eb2d816f2a
@ -66,8 +66,11 @@ class LibTest extends \PHPUnit\Framework\TestCase
|
|||||||
'40 26.767 N 79 58.933 W',
|
'40 26.767 N 79 58.933 W',
|
||||||
'40° 26.767′ N 79° 58.933′ W',
|
'40° 26.767′ N 79° 58.933′ W',
|
||||||
"40° 26.767' N 79° 58.933' W",
|
"40° 26.767' N 79° 58.933' W",
|
||||||
|
"40° 26.767'
|
||||||
|
N 79° 58.933' W",
|
||||||
'N 40 26.767, W 79 58.933',
|
'N 40 26.767, W 79 58.933',
|
||||||
'N 40°26.767′, W 79°58.933′',
|
'N 40°26.767′, W 79°58.933′',
|
||||||
|
' N 40°26.767′, W 79°58.933′',
|
||||||
"N 40°26.767', W 79°58.933'",
|
"N 40°26.767', W 79°58.933'",
|
||||||
|
|
||||||
'40 26 46 N 79 58 56 W',
|
'40 26 46 N 79 58 56 W',
|
||||||
@ -77,6 +80,7 @@ class LibTest extends \PHPUnit\Framework\TestCase
|
|||||||
'N 40 26 46 W 79 58 56',
|
'N 40 26 46 W 79 58 56',
|
||||||
'N 40° 26′ 46″, W 79° 58′ 56″',
|
'N 40° 26′ 46″, W 79° 58′ 56″',
|
||||||
'N 40° 26\' 46", W 79° 58\' 56"',
|
'N 40° 26\' 46", W 79° 58\' 56"',
|
||||||
|
'N 40° 26\' 46", W 79° 58\' 56"',
|
||||||
|
|
||||||
'40.446 -79.982',
|
'40.446 -79.982',
|
||||||
'40.446,-79.982',
|
'40.446,-79.982',
|
||||||
@ -84,7 +88,11 @@ class LibTest extends \PHPUnit\Framework\TestCase
|
|||||||
'N 40.446° W 79.982°',
|
'N 40.446° W 79.982°',
|
||||||
|
|
||||||
'[40.446 -79.982]',
|
'[40.446 -79.982]',
|
||||||
|
'[40.446,-79.982]',
|
||||||
' 40.446 , -79.982 ',
|
' 40.446 , -79.982 ',
|
||||||
|
' 40.446 , -79.982 ',
|
||||||
|
' 40.446 , -79.982 ',
|
||||||
|
' 40.446, -79.982 ',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user