|
KiCad PCB EDA Suite
|
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) | |
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.
| BOOST_AUTO_TEST_CASE | ( | CombineTrackAndPadUuids | ) |
Definition at line 39 of file test_teardrop_uuid.cpp.
References KIID::AsString(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and KIID::Combine().
| 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 | ( | MaskUuidIsIncrementedFromTeardropUuid | ) |
Definition at line 57 of file test_teardrop_uuid.cpp.
References KIID::AsString(), BOOST_CHECK_EQUAL(), KIID::Combine(), and KIID::Increment().
| BOOST_AUTO_TEST_CASE | ( | StableAcrossRegenerations | ) |
Definition at line 103 of file test_teardrop_uuid.cpp.
References KIID::AsString(), BOOST_CHECK_EQUAL(), and KIID::Combine().