42 BOOST_REQUIRE_EQUAL( items.size(), 10u );
47 const VECTOR2I corners[] = { { 0, 0 }, { unit, 0 }, { unit, unit }, { 0, unit } };
53 for(
int edge = 0; edge < 4; ++edge )
58 VECTOR2I start = corners[edge] + offset;
71 for(
int arc = 0; arc < 2; ++arc )
76 const int offsetX = arc * 4 * unit;
101 BOOST_REQUIRE_EQUAL( items.size(), 2u );
108 for(
size_t i = 0; i < items.size(); ++i )
117 BOOST_REQUIRE_EQUAL( position.
x,
expected[i].x );
118 BOOST_REQUIRE_EQUAL( position.
y,
expected[i].y );
BOOST_CHECK_EQUAL(result, "25.4")