Skip to content
Snippets Groups Projects
Commit f1687631 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

changed baseline value for test image in img io tests to expose more rounding...

changed baseline value for test image in img io tests to expose more rounding errors on old machines
parent bafc321e
Branches
Tags
No related merge requests found
......@@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(test_io_img)
for (img::ExtentIterator i(testimage.GetExtent()); !i.AtEnd(); ++i, ++counter) {
testimage.SetReal(i, counter);
}
testimage+=0.01; //if all values are > 0.0 we can use close_at_tolerance
testimage+=5.01; //if all values are > 0.0 we can use close_at_tolerance
const String fname("temp_img.tmp");
std::map<String,ImageFormatBase*> float_formats;
float_formats["DX"]=new DX;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment