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 'indexer/indexer_tests/polyline_point_to_int64_test.cpp')
-rw-r--r--indexer/indexer_tests/polyline_point_to_int64_test.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/indexer/indexer_tests/polyline_point_to_int64_test.cpp b/indexer/indexer_tests/polyline_point_to_int64_test.cpp
index ff0524fee1..e7665786d5 100644
--- a/indexer/indexer_tests/polyline_point_to_int64_test.cpp
+++ b/indexer/indexer_tests/polyline_point_to_int64_test.cpp
@@ -5,6 +5,7 @@
#include "indexer/cell_id.hpp"
#include "coding/point_to_integer.hpp"
+#include "coding/pointd_to_pointu.hpp"
#include "base/logging.hpp"
@@ -32,17 +33,17 @@ void CheckEqualPoints(m2::PointD const & p1, m2::PointD const & p2)
}
}
-UNIT_TEST(PointToInt64_DataSet1)
+UNIT_TEST(PointToInt64Obsolete_DataSet1)
{
for (size_t i = 0; i < ARRAY_SIZE(index_test::arr1); ++i)
{
m2::PointD const pt(index_test::arr1[i].x, index_test::arr1[i].y);
- int64_t const id = PointToInt64(pt, g_coordBits);
- m2::PointD const pt1 = Int64ToPoint(id, g_coordBits);
+ int64_t const id = PointToInt64Obsolete(pt, g_coordBits);
+ m2::PointD const pt1 = Int64ToPointObsolete(id, g_coordBits);
CheckEqualPoints(pt, pt1);
- int64_t const id1 = PointToInt64(pt1, g_coordBits);
+ int64_t const id1 = PointToInt64Obsolete(pt1, g_coordBits);
TEST_EQUAL(id, id1, (pt, pt1));
}
}