|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | PCB_TEXTBOX_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (GetMinSizeReturnsHeightOnly) | |
| BOOST_AUTO_TEST_CASE (GetMinSizeGrowsWithMoreText) | |
| BOOST_AUTO_TEST_CASE (GetMinSizeIncludesMargins) | |
| BOOST_AUTO_TEST_CASE (GetMinSizeHeightAtLeastTextHeight) | |
| BOOST_AUTO_TEST_CASE (GetMinSizeEmptyText) | |
| BOOST_AUTO_TEST_CASE (GetMinSizeRotated90) | |
| BOOST_AUTO_TEST_CASE (GetMinSizeAllowsWidthReduction) | |
| BOOST_AUTO_TEST_CASE (ThirtyDegreeIncrementsToCardinalKeepsVisualRotated) | |
| BOOST_AUTO_TEST_CASE (NonCardinalRotationDoesNotCrash) | |
| BOOST_AUTO_TEST_CASE (CardinalRotationsRoundTrip) | |
| BOOST_AUTO_TEST_CASE (NonCardinalRotationKeepsLibShapeRectangle) | |
| BOOST_AUTO_TEST_CASE | ( | CardinalRotationsRoundTrip | ) |
Definition at line 198 of file test_pcb_textbox.cpp.
References BOOST_CHECK_EQUAL(), DEGREES_T, pcbIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeAllowsWidthReduction | ) |
Definition at line 140 of file test_pcb_textbox.cpp.
References BOOST_CHECK_EQUAL(), and minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeEmptyText | ) |
Definition at line 105 of file test_pcb_textbox.cpp.
References BOOST_CHECK_EQUAL(), and minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeGrowsWithMoreText | ) |
Definition at line 55 of file test_pcb_textbox.cpp.
References VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeHeightAtLeastTextHeight | ) |
Definition at line 94 of file test_pcb_textbox.cpp.
References minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeIncludesMargins | ) |
Definition at line 68 of file test_pcb_textbox.cpp.
References BOOST_CHECK_EQUAL(), pcbIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeReturnsHeightOnly | ) |
Definition at line 46 of file test_pcb_textbox.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeRotated90 | ) |
Definition at line 119 of file test_pcb_textbox.cpp.
References BOOST_CHECK_EQUAL(), DEGREES_T, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | NonCardinalRotationDoesNotCrash | ) |
Definition at line 180 of file test_pcb_textbox.cpp.
References DEGREES_T, BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), and BOX2< Vec >::Merge().
| BOOST_AUTO_TEST_CASE | ( | NonCardinalRotationKeepsLibShapeRectangle | ) |
Definition at line 216 of file test_pcb_textbox.cpp.
| BOOST_AUTO_TEST_CASE | ( | ThirtyDegreeIncrementsToCardinalKeepsVisualRotated | ) |
Definition at line 155 of file test_pcb_textbox.cpp.
References std::abs(), BOOST_CHECK_MESSAGE(), DEGREES_T, BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), BOX2< Vec >::Merge(), and pcbIUScale.