diff options
author | ygorshenin <mipt.vi002@gmail.com> | 2017-01-09 13:54:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-09 13:54:19 +0300 |
commit | 05de20f50ffa0bd6bf7f08ddcadd368ae8410da2 (patch) | |
tree | f6915c00c1f287015221a1bf9c923d9487e6e97b /indexer/indexer_tests | |
parent | e84ceab2285811143a557ae19f9836b2d9f06c37 (diff) | |
parent | d508c6dbfa4a4b6e4e7672b27523580997cfa1d5 (diff) |
Merge pull request #5092 from vng/covering
Rect covering in Index::ForEachInRect
Diffstat (limited to 'indexer/indexer_tests')
-rw-r--r-- | indexer/indexer_tests/cell_coverer_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/indexer_tests/cell_coverer_test.cpp b/indexer/indexer_tests/cell_coverer_test.cpp index 6451a0cd5a..aa50f916cc 100644 --- a/indexer/indexer_tests/cell_coverer_test.cpp +++ b/indexer/indexer_tests/cell_coverer_test.cpp @@ -18,7 +18,7 @@ UNIT_TEST(CellIdToStringRecode) UNIT_TEST(GoldenCoverRect) { vector<CellIdT> cells; - CoverRect<OrthoBounds>(27.43, 53.83, 27.70, 53.96, 4, RectId::DEPTH_LEVELS, cells); + CoverRect<OrthoBounds>({27.43, 53.83, 27.70, 53.96}, 4, RectId::DEPTH_LEVELS, cells); TEST_EQUAL(cells.size(), 4, ()); @@ -33,7 +33,7 @@ UNIT_TEST(ArtificialCoverRect) typedef Bounds<0, 0, 16, 16> TestBounds; vector<CellIdT> cells; - CoverRect<TestBounds>(5, 5, 11, 11, 4, RectId::DEPTH_LEVELS, cells); + CoverRect<TestBounds>({5, 5, 11, 11}, 4, RectId::DEPTH_LEVELS, cells); TEST_EQUAL(cells.size(), 4, ()); |