Remove debugging from test case, fix size check.

This commit is contained in:
Daniel Patterson 2015-06-18 09:01:52 -07:00
parent f6a858b6c9
commit cdb9bdb392

View file

@ -81,8 +81,7 @@ SECTION("svg_scaled")
CHECK(im.height() == 50); CHECK(im.height() == 50);
std::string pngdata = mapnik::save_to_string<mapnik::image_rgba8>(raw,"png"); std::string pngdata = mapnik::save_to_string<mapnik::image_rgba8>(raw,"png");
mapnik::save_to_file<mapnik::image_rgba8>(raw,"test.png","png"); CHECK(pngdata.length() == 616);
CHECK(pngdata.length() == 1270);
} // END SECTION } // END SECTION