Kaydet (Commit) 6f9dd672 authored tarafından Caolán McNamara's avatar Caolán McNamara

cmcfixes73: #i110069# add 61 count for ia64 as well

üst 03abcba9
...@@ -481,16 +481,15 @@ public: ...@@ -481,16 +481,15 @@ public:
} }
while ( nIndex >= 0 ); while ( nIndex >= 0 );
// Adapted number of spaces to 50 and 67 because of the new circle construction // Adapted number of spaces to 50, 67 and 61 because of the new circle
// methods which produce more points and thus more spaces, too. Use both since // construction methods which produce more points and thus more spaces,
// depending on float precision and the getContinuity() implemetation using // too. Use both since depending on float precision and the
// fTools::equal, linux and mac produce more 'C' than 'S' statements, while WIN32 // getContinuity() implemetation using fTools::equal, linux and mac
// uses more 'S' statements (as it should be for circles) // produce more 'C' than 'S' statements, while WIN32 uses more 'S'
#ifdef S390X // statements (as it should be for circles)
CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==61 );
#else // 61 elements for S390x, and IA64
CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==67 || nCount==50 ); CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==67 || nCount==50 || nCount == 61);
#endif
const B2DPolygon aRect( const B2DPolygon aRect(
tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) )); tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment