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

Regression test for issue #24972: a sheet pin driven through CalcEdit (the interactive placement path) must stay clamped to the sheet border. More...

Go to the source code of this file.

Functions

static bool onSheetBorder (const VECTOR2I &aPos, const SCH_SHEET &aSheet)
 
 BOOST_AUTO_TEST_CASE (CalcEditClampsToBorder)
 

Detailed Description

Regression test for issue #24972: a sheet pin driven through CalcEdit (the interactive placement path) must stay clamped to the sheet border.

Definition in file test_issue24972_sheet_pin_constrain.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( CalcEditClampsToBorder )

◆ onSheetBorder()

static bool onSheetBorder ( const VECTOR2I & aPos,
const SCH_SHEET & aSheet )
static

Definition at line 35 of file test_issue24972_sheet_pin_constrain.cpp.

References left, onSheetBorder(), right, and top().

Referenced by BOOST_AUTO_TEST_CASE(), and onSheetBorder().