diff options
-rw-r--r-- | emfio/qa/cppunit/emf/EmfImportTest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emfio/qa/cppunit/emf/EmfImportTest.cxx b/emfio/qa/cppunit/emf/EmfImportTest.cxx index c24b3d8e5856..6b16770d8d71 100644 --- a/emfio/qa/cppunit/emf/EmfImportTest.cxx +++ b/emfio/qa/cppunit/emf/EmfImportTest.cxx @@ -1263,7 +1263,8 @@ void Test::TestPdfInEmf() // - Actual : 0 // i.e. there was no size hint, the shape with 14cm height had a bitmap-from-PDF fill, the PDF // height was only 5cm, so it looked blurry. - CPPUNIT_ASSERT_EQUAL(14321.0, pVectorGraphicData->getSizeHint().getY()); + // Tolerance was added later based on results on different systems. + CPPUNIT_ASSERT_LESSEQUAL(1.0, abs(14321.0 - pVectorGraphicData->getSizeHint().getY())); // Without the accompanying fix in place, this test would have failed with: // - Expected: 0 |