From e6c156420d2d287bd6d3449af3338f550dbf84f4 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Thu, 9 Apr 2020 12:40:15 +0300 Subject: [core] PlacedSymbolData contains layer id --- render-test/runner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'render-test') diff --git a/render-test/runner.cpp b/render-test/runner.cpp index 2691edd6a5..3ccb0da0d7 100644 --- a/render-test/runner.cpp +++ b/render-test/runner.cpp @@ -814,8 +814,8 @@ void TestRunner::run(TestMetadata& metadata) { ss << std::endl << ++metadata.duplicationsCount << ". \"" << cv.to_bytes(placedSymbol.key) << "\" " << (isIcon ? "icon" : "text") << " ((" << box.min.x << ", " << box.min.y << "), (" - << box.max.x << ", " << box.max.y << ")) " - << "at " << util::toString(tileId); + << box.max.x << ", " << box.max.y << ")) from layer: " << placedSymbol.layer << " at " + << util::toString(tileId); duplicationsReport += ss.str(); return; } @@ -824,7 +824,7 @@ void TestRunner::run(TestMetadata& metadata) { ss << std::endl << ++metadata.labelCutOffFound << ". \"" << cv.to_bytes(placedSymbol.key) << "\" " << (isIcon ? "icon" : "text") << " ((" << box.min.x << ", " << box.min.y << "), (" - << box.max.x << ", " << box.max.y << "))" + << box.max.x << ", " << box.max.y << ")) from layer: " << placedSymbol.layer << (placed ? " is placed at " : " is not placed at ") << util::toString(tileId) << " and" << (it->placed ? " placed at " : " not placed at ") << util::toString(it->tileId); cutOffLabelsReport += ss.str(); -- cgit v1.2.1