|
KiCad PCB EDA Suite
|
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) | |
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.
| BOOST_AUTO_TEST_CASE | ( | CalcEditClampsToBorder | ) |
Definition at line 49 of file test_issue24972_sheet_pin_constrain.cpp.
References SCH_SHEET::AddPin(), BOOST_CHECK_EQUAL(), onSheetBorder(), pin, and SCH_SHEET::SetSize().
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().