aw078: changes after resync

This commit is contained in:
Armin Le Grand 2009-11-19 12:57:05 +01:00
parent d1eb6b5cb7
commit a5aae5938f

View file

@ -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) ));