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

Test that deterministic UUID generation works correctly for teardrop scenarios. More...

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (CombineTrackAndPadUuids)
 
 BOOST_AUTO_TEST_CASE (MaskUuidIsIncrementedFromTeardropUuid)
 
 BOOST_AUTO_TEST_CASE (DifferentTracksProduceDifferentTeardropUuids)
 
 BOOST_AUTO_TEST_CASE (StableAcrossRegenerations)
 

Detailed Description

Test that deterministic UUID generation works correctly for teardrop scenarios.

The core KIID::Combine function is tested in test_kiid.cpp. These tests verify the expected behavior when combining track and pad UUIDs as used by teardrops.

Definition in file test_teardrop_uuid.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( CombineTrackAndPadUuids )

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( DifferentTracksProduceDifferentTeardropUuids )

Definition at line 81 of file test_teardrop_uuid.cpp.

References KIID::AsString(), BOOST_CHECK_EQUAL(), and KIID::Combine().

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( MaskUuidIsIncrementedFromTeardropUuid )

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( StableAcrossRegenerations )

Definition at line 103 of file test_teardrop_uuid.cpp.

References KIID::AsString(), BOOST_CHECK_EQUAL(), and KIID::Combine().