diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-11-19 12:57:05 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2009-11-19 12:57:05 +0100 |
commit | a5aae5938fb6bce788242895e6f9593fd27b6059 (patch) | |
tree | 092986b8f4ab451871fd6b8a5ebc2b50a65d0f20 /basegfx/test | |
parent | d1eb6b5cb7482385397f03b56ef396905c5490e5 (diff) |
aw078: changes after resync
Diffstat (limited to 'basegfx/test')
-rw-r--r-- | basegfx/test/basegfx2d.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index eadd99d31a42..639933ace1e6 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -484,10 +484,13 @@ public: } while ( nIndex >= 0 ); - // Adapted number of spaces from 50 to 67 because of the new circle construction - // methods which produce more points and thus more spaces, too. + // 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==67); + nCount==67 || nCount==50); const B2DPolygon aRect( tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) )); |