Skip to content

Commit

Permalink
Slight update to test
Browse files Browse the repository at this point in the history
  • Loading branch information
flippmoke committed Apr 19, 2016
1 parent aa0a1d8 commit c67607c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/vector_tile_rasterize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ TEST_CASE("vector tile rasterize -- should try to decode windfail tile")
mapnik::agg_renderer<mapnik::image_rgba8> ren(map,im);
ren.apply();
unsigned diff = testing::compare_images(im,"test/fixtures/rasterize-expected-1.png");
// should be almost equal (50 is good enough since re-rendering filters a few small degenerates)
// should be almost equal (110 is good enough since re-rendering filters a few small degenerates)
CHECK(110 == diff);
if (diff > 50)
if (diff > 110)
{
mapnik::save_to_file(im,"test/fixtures/rasterize-actual-1.png","png32");
}
Expand Down

0 comments on commit c67607c

Please sign in to comment.