summaryrefslogtreecommitdiffstats
path: root/basegfx/test
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-01-09 21:01:14 +0100
committersb <sb@openoffice.org>2010-01-09 21:01:14 +0100
commita57ae685bcc342e1cd2d4e9d261704839ecf1996 (patch)
tree2494a7580014d7aba39983e6117fe084f3fa5561 /basegfx/test
parentsb118: make test libraries RPATH=NONE (diff)
parentDEV300 masterfix: #i10000#: lineinfo.cxx: enable exceptions (corrected) (diff)
downloadcore-a57ae685bcc342e1cd2d4e9d261704839ecf1996.tar.gz
core-a57ae685bcc342e1cd2d4e9d261704839ecf1996.zip
sb118: merged in DEV300_m69
Diffstat (limited to 'basegfx/test')
-rw-r--r--basegfx/test/basegfx2d.cxx7
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) ));