diff options
author | sb <sb@openoffice.org> | 2010-01-09 21:01:14 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-01-09 21:01:14 +0100 |
commit | a57ae685bcc342e1cd2d4e9d261704839ecf1996 (patch) | |
tree | 2494a7580014d7aba39983e6117fe084f3fa5561 /basegfx/test/basegfx2d.cxx | |
parent | 7397e8c1bb3d3f5562590c07a535d9749dca4279 (diff) | |
parent | 8765a3bf9f2926a50d0f644e4263782269abe023 (diff) |
sb118: merged in DEV300_m69
Diffstat (limited to 'basegfx/test/basegfx2d.cxx')
-rw-r--r-- | basegfx/test/basegfx2d.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index 0e0159dfab08..115b33303ee6 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -486,8 +486,13 @@ public: } while ( nIndex >= 0 ); + // Adapted number of spaces to 50 and 67 because of the new circle construction + // methods which produce more points and thus more spaces, too. Use both since + // depending on float precision and the getContinuity() implemetation using + // fTools::equal, linux and mac produce more 'C' than 'S' statements, while WIN32 + // uses more 'S' statements (as it should be for circles) CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", - nCount==18); + nCount==67 || nCount==50); const B2DPolygon aRect( tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) )); |