53 std::vector<DRC_ITEM> violations;
66 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& aPos,
int aLayer,
67 const std::function<
void(
PCB_MARKER* )>& aPathGenerator )
72 violations.push_back( *aItem );
77 if( violations.size() == 8 )
88 std::map<KIID, EDA_ITEM*> itemMap;
89 m_board->FillItemMap( itemMap );
91 for(
const DRC_ITEM& item : violations )
94 BOOST_ERROR(
"Custom rule severity test failed" );
BOOST_CHECK_EQUAL(result, "25.4")