Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'geometry/geometry_tests/mercator_test.cpp')
-rw-r--r--geometry/geometry_tests/mercator_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry/geometry_tests/mercator_test.cpp b/geometry/geometry_tests/mercator_test.cpp
index 6236b25019..c856c01222 100644
--- a/geometry/geometry_tests/mercator_test.cpp
+++ b/geometry/geometry_tests/mercator_test.cpp
@@ -58,11 +58,11 @@ UNIT_TEST(Mercator_ErrorToRadius)
double const lat = points[j];
m2::PointD const mercPoint(MercatorBounds::LonToX(lon), MercatorBounds::LatToY(lat));
- m2::RectD const radius1 = MercatorBounds::MetresToXY(lon, lat, error1);
+ m2::RectD const radius1 = MercatorBounds::MetersToXY(lon, lat, error1);
TEST(radius1.IsPointInside(mercPoint), (lat, lon));
TEST(radius1.Center().EqualDxDy(mercPoint, 1.0E-8), ());
- m2::RectD const radius10 = MercatorBounds::MetresToXY(lon, lat, error10);
+ m2::RectD const radius10 = MercatorBounds::MetersToXY(lon, lat, error10);
TEST(radius10.IsPointInside(mercPoint), (lat, lon));
TEST(radius10.Center().EqualDxDy(mercPoint, 1.0E-8), ());