diff --git a/indexer/indexer_tests/geometry_coding_test.cpp b/indexer/indexer_tests/geometry_coding_test.cpp index 95daa89c33..f423595d89 100644 --- a/indexer/indexer_tests/geometry_coding_test.cpp +++ b/indexer/indexer_tests/geometry_coding_test.cpp @@ -168,34 +168,3 @@ UNIT_TEST(EncodePolyline) TestEncodePolyline("4000simp", maxPoint, SimplifyPoints(points, 4000)); } } - -UNIT_TEST(DecodePolyline_Values) -{ - uint64_t arr[] = { - 2734738402133224327, - 587102334176945, - 154352840547926, - 43024411088417, - 2208572839502425, - 1537729724693572015, - 110442683719211 - }; - - int64_t const baseP = 876424843953707746; - - array_read in(arr, ARRAY_SIZE(arr)); - - vector buffer(10); - array_write out(buffer); - - geo_coding::DecodePolylinePrev2(in, - m2::Uint64ToPointU(baseP), PointD2PointU(MercatorBounds::maxX, MercatorBounds::maxY), - out); - - for (size_t i = 0; i < out.size(); ++i) - { - CoordPointT const pt = PointU2PointD(out[i]); - TEST ( MercatorBounds::minX <= pt.first && pt.first <= MercatorBounds::maxX, (pt.first) ); - TEST ( MercatorBounds::minY <= pt.second && pt.second <= MercatorBounds::maxY, (pt.second) ); - } -}