mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +00:00
Replace omaps.app links with comaps.app
Co-authored-by: zyphlar <zyphlar@noreply.codeberg.org> Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -274,11 +274,11 @@ UNIT_TEST(MapApiGe0)
|
||||
TEST_EQUAL(p0.m_name, "Zoo Zürich", ());
|
||||
}
|
||||
{
|
||||
ParsedMapApi api("http://omaps.app/o4B4pYZsRs/Zoo_Zürich");
|
||||
ParsedMapApi api("http://comaps.app/o4B4pYZsRs/Zoo_Zürich");
|
||||
TEST_EQUAL(api.GetRequestType(), UrlType::Map, ());
|
||||
}
|
||||
{
|
||||
ParsedMapApi api("https://omaps.app/o4B4pYZsRs/Zoo_Zürich");
|
||||
ParsedMapApi api("https://comaps.app/o4B4pYZsRs/Zoo_Zürich");
|
||||
TEST_EQUAL(api.GetRequestType(), UrlType::Map, ());
|
||||
}
|
||||
{
|
||||
@@ -376,7 +376,7 @@ UNIT_TEST(CrosshairApi)
|
||||
TEST_EQUAL(api.GetAppName(), "Google Maps", ());
|
||||
}
|
||||
{
|
||||
ParsedMapApi api("https://omaps.app/crosshair?cll=47.3813,8.5889&appname=Google%20Maps");
|
||||
ParsedMapApi api("https://comaps.app/crosshair?cll=47.3813,8.5889&appname=Google%20Maps");
|
||||
TEST_EQUAL(api.GetRequestType(), UrlType::Crosshair, ());
|
||||
ms::LatLon latlon = api.GetCenterLatLon();
|
||||
TEST_ALMOST_EQUAL_ABS(latlon.m_lat, 47.3813, kEps, ());
|
||||
|
||||
Reference in New Issue
Block a user