46 std::vector<DRC_ITEM> violations;
50 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& aPos,
int aLayer,
51 const std::function<
void(
PCB_MARKER* )>& aPathGenerator )
56 violations.push_back( *aItem );
63 for(
const DRC_ITEM& item : violations )
69 if( danglingVias == 1 && violations.size() == 1 )
80 for(
const DRC_ITEM& item : violations )
83 BOOST_ERROR(
"Via dangling rule test failed" );
BOOST_CHECK_EQUAL(result, "25.4")