|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (Ipc2222RectangularLead) | |
| Tests for the plated through hole size rules, based on the worked example in the KiCad libraries wiki page "THT hole sizes". | |
| BOOST_AUTO_TEST_CASE (Ipc2222SquareLead) | |
| BOOST_AUTO_TEST_CASE | ( | Ipc2222RectangularLead | ) |
Tests for the plated through hole size rules, based on the worked example in the KiCad libraries wiki page "THT hole sizes".
Definition at line 31 of file test_pth_hole_size.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), PTH_HOLE_SIZE_STANDARD::ComputeHoleSize(), ComputeRecommendedPthHoleSize(), FindPthHoleSizeStandard(), PTH_HOLE_SIZE_STANDARD::GetLevelCount(), PTH_LEAD_DEF::m_maxX, PTH_LEAD_DEF::m_maxY, PTH_LEAD_DEF::m_minX, PTH_LEAD_DEF::m_minY, PTH_LEAD_DEF::m_shape, NEAREST, pcbIUScale, RECTANGULAR, and result.
| BOOST_AUTO_TEST_CASE | ( | Ipc2222SquareLead | ) |
Definition at line 59 of file test_pth_hole_size.cpp.
References BOOST_REQUIRE(), PTH_HOLE_SIZE_STANDARD::ComputeHoleSize(), ComputeRecommendedPthHoleSize(), FindPthHoleSizeStandard(), PTH_LEAD_DEF::m_maxX, PTH_LEAD_DEF::m_minX, PTH_LEAD_DEF::m_shape, NEAREST, pcbIUScale, result, and SQUARE.