50 std::vector<DRC_ITEM> violations;
63 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& aPos,
int aLayer,
64 const std::function<
void(
PCB_MARKER* )>& aPathGenerator )
70 violations.push_back( *aItem );
73 violations.back().SetParent(
nullptr );
79 if( violations.size() == 8 )
90 std::map<KIID, EDA_ITEM*> itemMap;
91 m_board->FillItemMap( itemMap );
93 for(
const DRC_ITEM& item : violations )
96 BOOST_ERROR(
"Custom rule severity test failed" );
BOOST_CHECK_EQUAL(result, "25.4")