Attempt to fix test case, and improve debugging output.

This commit is contained in:
Jeff Young 2021-12-24 11:37:27 +00:00
parent 40752afafd
commit 66a6a6d448
2 changed files with 2 additions and 1 deletions

View File

@ -395,6 +395,7 @@ constexpr bool IsPcbnewType( const KICAD_T aType )
case PCB_DIM_ALIGNED_T: case PCB_DIM_ALIGNED_T:
case PCB_DIM_LEADER_T: case PCB_DIM_LEADER_T:
case PCB_DIM_CENTER_T: case PCB_DIM_CENTER_T:
case PCB_DIM_RADIAL_T:
case PCB_DIM_ORTHOGONAL_T: case PCB_DIM_ORTHOGONAL_T:
case PCB_TARGET_T: case PCB_TARGET_T:
case PCB_ZONE_T: case PCB_ZONE_T:

View File

@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE( AllCorrect )
{ {
KICAD_T type = static_cast<KICAD_T>( i ); KICAD_T type = static_cast<KICAD_T>( i );
BOOST_CHECK( IsTypeCorrect( type ) ); BOOST_CHECK_MESSAGE( IsTypeCorrect( type ), "Failed for " << type );
} }
} }