45    std::vector<DRC_ITEM>  violations;
 
   49            [&]( 
const std::shared_ptr<DRC_ITEM>& aItem, 
const VECTOR2I& aPos, 
int aLayer,
 
   50                 const std::function<
void( 
PCB_MARKER* )>& aPathGenerator )
 
   55                    violations.push_back( *aItem );
 
   62    for( 
const DRC_ITEM& item : violations )
 
   68    if( danglingVias == 1 && violations.size() == 1 )
 
   77        std::map<KIID, EDA_ITEM*> itemMap;
 
   78        m_board->FillItemMap( itemMap );
 
   80        for( 
const DRC_ITEM& item : violations )
 
   83        BOOST_ERROR( 
"Via dangling rule test failed" );
 
 
BOOST_CHECK_EQUAL(result, "25.4")