KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pad_swap_positions.cpp File Reference
#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< PADmakeRoundPad (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)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( SwapIsInvolutiveForTwoPads )

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( SwapPadsWhenOneHasShapeOffset )

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( SwapPadsWithDifferentOffsets )

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( SwapPadsWithoutOffset )

◆ makeRoundPad()

static std::unique_ptr< PAD > makeRoundPad ( FOOTPRINT * aParent,
const VECTOR2I & aPos,
const VECTOR2I & aOffset,
const EDA_ANGLE & aOrient = ANGLE_0 )
static