fix test for non-default DPI
Change-Id: Id3b39535ae18a5b38e57d9cacb7e3662a9c3468c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147498 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
5de206e549
commit
0e123c297a
1 changed files with 2 additions and 1 deletions
|
@ -2138,7 +2138,8 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest2, testTdf152053)
|
|||
// Without the fix in place, this test would have failed with
|
||||
// - Expected: 1162
|
||||
// - Actual : 715
|
||||
CPPUNIT_ASSERT_EQUAL(1162, nWidth);
|
||||
// tolerance is for windows machines with non-default DPI
|
||||
CPPUNIT_ASSERT_DOUBLES_EQUAL(1162, nWidth, 10);
|
||||
}
|
||||
|
||||
CPPUNIT_TEST_FIXTURE(ScFiltersTest2, testPreviewMissingObjLink)
|
||||
|
|
Loading…
Reference in a new issue