|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <footprint.h>#include <pad.h>#include <padstack.h>#include <memory>Go to the source code of this file.
Functions | |
| static std::unique_ptr< PAD > | makeRoundPad (FOOTPRINT *aParent, const VECTOR2I &aPos, const VECTOR2I &aOffset, const EDA_ANGLE &aOrient=ANGLE_0) |
| BOOST_AUTO_TEST_CASE (SwapPadsWithoutOffset) | |
| BOOST_AUTO_TEST_CASE (SwapPadsWhenOneHasShapeOffset) | |
| BOOST_AUTO_TEST_CASE (SwapPadsWithDifferentOffsets) | |
| BOOST_AUTO_TEST_CASE (SwapIsInvolutiveForTwoPads) | |
| BOOST_AUTO_TEST_CASE | ( | SwapIsInvolutiveForTwoPads | ) |
Definition at line 132 of file test_pad_swap_positions.cpp.
References BOOST_CHECK_EQUAL(), DEGREES_T, FPHOLDER, makeRoundPad(), pcbIUScale, BOARD::SetBoardUse(), and PAD::SwapShapePositions().
| BOOST_AUTO_TEST_CASE | ( | SwapPadsWhenOneHasShapeOffset | ) |
Definition at line 78 of file test_pad_swap_positions.cpp.
References PADSTACK::ALL_LAYERS, BOOST_CHECK_EQUAL(), DEGREES_T, FPHOLDER, makeRoundPad(), pcbIUScale, BOARD::SetBoardUse(), and PAD::SwapShapePositions().
| BOOST_AUTO_TEST_CASE | ( | SwapPadsWithDifferentOffsets | ) |
Definition at line 105 of file test_pad_swap_positions.cpp.
References PADSTACK::ALL_LAYERS, BOOST_CHECK_EQUAL(), DEGREES_T, FPHOLDER, makeRoundPad(), pcbIUScale, BOARD::SetBoardUse(), and PAD::SwapShapePositions().
| BOOST_AUTO_TEST_CASE | ( | SwapPadsWithoutOffset | ) |
Definition at line 56 of file test_pad_swap_positions.cpp.
References PADSTACK::ALL_LAYERS, BOOST_CHECK_EQUAL(), FPHOLDER, makeRoundPad(), pcbIUScale, BOARD::SetBoardUse(), and PAD::SwapShapePositions().
|
static |
Definition at line 40 of file test_pad_swap_positions.cpp.
References PADSTACK::ALL_LAYERS, ANGLE_0, CIRCLE, makeRoundPad(), pad, pcbIUScale, and PTH.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and makeRoundPad().