summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-03-12 09:42:49 +0000
committerCaolán McNamara <cmc@openoffice.org>2010-03-12 09:42:49 +0000
commit6f9dd6728ba68934d678a6caf66edcdf2900537a (patch)
treea73be21e59eaff0b4a2d504ed0d50fd36ef1da04 /basegfx
parent03abcba9c53630795987c7a1545de6376c36849d (diff)
cmcfixes73: #i110069# add 61 count for ia64 as well
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/test/basegfx2d.cxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index b169d35ed96a..bbf5045b5832 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -481,16 +481,15 @@ 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)
-#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
+ // Adapted number of spaces to 50, 67 and 61 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)
+
+ // 61 elements for S390x, and IA64
+ CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==67 || nCount==50 || nCount == 61);
const B2DPolygon aRect(
tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) ));