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

Go to the source code of this file.

Classes

struct  STACKED_PIN_CONVERSION_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (TestStackedPinExpansion)
 Test basic stacked pin number expansion functionality.
 
 BOOST_AUTO_TEST_CASE (TestStackedPinValidity)
 Test stacked pin validity checking.
 
 BOOST_AUTO_TEST_CASE (TestPinCreation)
 Test pin creation and positioning for conversion tests.
 
 BOOST_AUTO_TEST_CASE (TestStackedPinNetNaming)
 Test net name generation with stacked pins.
 
 BOOST_AUTO_TEST_CASE (TestConvertMultiplePinsToStacked)
 Test conversion from multiple co-located pins to stacked notation.
 
 BOOST_AUTO_TEST_CASE (TestRangeCollapsingConversion)
 Test range collapsing functionality in stacked pin conversion.
 
 BOOST_AUTO_TEST_CASE (TestRoundTripConversion)
 Test round-trip conversion: multiple pins -> stacked -> multiple pins.
 
 BOOST_AUTO_TEST_CASE (TestVisibilityHandling)
 Test visibility behavior during conversions.
 
 BOOST_AUTO_TEST_CASE (TestAlphanumericRangeCollapsing)
 Test alphanumeric range collapsing functionality.
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( TestAlphanumericRangeCollapsing )

Test alphanumeric range collapsing functionality.

Definition at line 633 of file test_stacked_pin_conversion.cpp.

References BOOST_CHECK_EQUAL(), and end.

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( TestConvertMultiplePinsToStacked )

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( TestPinCreation )

Test pin creation and positioning for conversion tests.

Definition at line 129 of file test_stacked_pin_conversion.cpp.

References BOOST_CHECK_EQUAL(), SCH_PIN::GetPosition(), SCH_PIN::IsStacked(), PIN_RIGHT, SCH_PIN::SetNumber(), SCH_PIN::SetOrientation(), and SCH_PIN::SetPosition().

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( TestRangeCollapsingConversion )

Test range collapsing functionality in stacked pin conversion.

Definition at line 252 of file test_stacked_pin_conversion.cpp.

References BOOST_CHECK_EQUAL(), end, SCH_PIN::GetStackedPinNumbers(), result, and SCH_PIN::SetNumber().

◆ BOOST_AUTO_TEST_CASE() [5/9]

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( TestStackedPinExpansion )

Test basic stacked pin number expansion functionality.

Definition at line 43 of file test_stacked_pin_conversion.cpp.

References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and pin.

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( TestStackedPinNetNaming )

Test net name generation with stacked pins.

Definition at line 166 of file test_stacked_pin_conversion.cpp.

References BOOST_CHECK_EQUAL(), and pin.

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( TestStackedPinValidity )

Test stacked pin validity checking.

Definition at line 95 of file test_stacked_pin_conversion.cpp.

References BOOST_CHECK_EQUAL(), and pin.

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( TestVisibilityHandling )

Test visibility behavior during conversions.

Definition at line 589 of file test_stacked_pin_conversion.cpp.

References BOOST_CHECK_EQUAL(), and pin.