50    std::vector<std::pair<wxString, int>> tests =
 
   52        { 
"orientation_drc", 1 },
 
   55    for( 
const std::pair<wxString, int>& 
test : tests )
 
   60        std::vector<DRC_ITEM>  violations;
 
   79                [&]( 
const std::shared_ptr<DRC_ITEM>& aItem, 
const VECTOR2I& aPos, 
int aLayer,
 
   80                     const std::function<
void( 
PCB_MARKER* )>& aPathGenerator )
 
   83                        violations.push_back( *aItem );
 
   88        if( violations.size() == 
test.second )
 
   98            std::map<KIID, EDA_ITEM*> itemMap;
 
   99            m_board->FillItemMap( itemMap );
 
  101            for( 
const DRC_ITEM& item : violations )
 
  104            BOOST_ERROR( wxString::Format( 
"DRC orientation: %s\n" 
  105                                           "%d violations found (expected %d)\n" 
  108                                           (
int) violations.size(),
 
 
BOOST_CHECK_EQUAL(result, "25.4")