diff options
author | vng <viktor.govako@gmail.com> | 2016-12-25 17:38:58 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2016-12-25 17:38:58 +0300 |
commit | 0080acadff1b041a771098d9eb8a6296a63f243c (patch) | |
tree | d01073a27b61cdd6941a05ccf2742d85b70d8b18 /indexer/indexer_tests | |
parent | 4b24b9f7c5190c120233558ae425b3bffb9197df (diff) |
[index] More accurate rect covering in 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, ()); |