58 BOOST_REQUIRE_EQUAL(
image.GetItemsCount(), 44 );
64 VECTOR2I stepX = items[1]->GetPosition() - items[0]->GetPosition();
65 BOOST_CHECK( stepX.
x != 0 );
69 for(
int row = 0; row < 5; ++row )
71 for(
int col = 0; col < 7; ++col )
73 int i = row * 8 + col;
74 BOOST_CHECK( ( items[i + 1]->GetPosition() - items[i]->GetPosition() ) == stepX );
80 VECTOR2I rowStep = items[8]->GetPosition() - items[0]->GetPosition();
86 VECTOR2I stepY = items[41]->GetPosition() - items[40]->GetPosition();
89 BOOST_CHECK( ( items[42]->GetPosition() - items[41]->GetPosition() ) == stepY );
90 BOOST_CHECK( ( items[43]->GetPosition() - items[42]->GetPosition() ) == stepY );
BOOST_CHECK_EQUAL(result, "25.4")