KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pns_tuning_path_through_pad.cpp File Reference

Length tuning must follow a single net all the way between its terminal pads, even when the trace routes through an in-line pad (e.g. More...

#include <qa_utils/wx_utils/unit_test_utils.h>
#include <pcbnew_utils/board_test_utils.h>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_track.h>
#include <settings/settings_manager.h>
#include <router/pns_router.h>
#include <router/pns_kicad_iface.h>
#include <router/pns_topology.h>
#include <router/pns_item.h>
#include <router/pns_itemset.h>
#include <router/pns_line.h>
#include <router/pns_solid.h>
#include <set>

Go to the source code of this file.

Classes

struct  TUNING_PATH_FIXTURE
 

Functions

static wxString refOfSolid (PNS::SOLID *aSolid)
 
 BOOST_FIXTURE_TEST_CASE (TuningPathWalksThroughInlinePad, TUNING_PATH_FIXTURE)
 

Detailed Description

Length tuning must follow a single net all the way between its terminal pads, even when the trace routes through an in-line pad (e.g.

a series / strapping resistor) mid-net. The fixture is one net (Net-(R1-Pad2)) routed TP1 – TP2.pad – R1.pad2, where TP2's pad sits on the path. AssembleTuningPath used to treat any pad as a hard terminal, so it stopped at TP2 and reported only part of the net.

Definition in file test_pns_tuning_path_through_pad.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

◆ refOfSolid()

static wxString refOfSolid ( PNS::SOLID * aSolid)
static