diff options
author | thb <thb@openoffice.org> | 2010-02-19 12:46:18 +0100 |
---|---|---|
committer | thb <thb@openoffice.org> | 2010-02-19 12:46:18 +0100 |
commit | 0755c94f9a36f7ccd23a52a58297033a05b10c80 (patch) | |
tree | b024ba02a0b81f5a59eac8192f211b5a512ea513 /basegfx | |
parent | Fix rgb2hsl miscalculation + add according test case (diff) | |
parent | #i10000# tools api changed (diff) | |
download | core-0755c94f9a36f7ccd23a52a58297033a05b10c80.tar.gz core-0755c94f9a36f7ccd23a52a58297033a05b10c80.zip |
Merged with dev300_m71
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/test/basegfx2d.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index d8b574769554..24a488ddfbb4 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -283,8 +283,11 @@ public: // 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==50); +#ifdef S390X + CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==61 ); +#else + CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==67 || nCount==50 ); +#endif const B2DPolygon aRect( tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) )); |