Attempt to fix test case, and improve debugging output.
This commit is contained in:
parent
40752afafd
commit
66a6a6d448
|
@ -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:
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue