Skip to content

Commit da7d860

Browse files
committed
BUG: Update ConnectedComponentImageFilter test baselines for deterministic RNG
The previous commit replaced std::uniform_int_distribution with a direct modulo expression so that std::mt19937 output is reduced identically across libstdc++ / libc++ / MSVC. Update the four test baselines to the new deterministic output and drop the per-platform .1 alternates that existed only to paper over the prior cross-stdlib divergence. Three new CIDs land via InsightSoftwareConsortium/ITKTestingData#38: Test.png (also reused by ...TestRGB) bafkreibyjpytxv46k6mkxo3sadppjvs6b5vjqwqcz6u4vkzpp2btmge4fm Test2.png bafkreif6vtfmpapapqk5q5xlitj7g72pdihcrrncdf5cwgtnexu36cj6rm Test3.png bafkreibxbxqmcg73nig3ncv7gt2rqdcj7nfw72r3be4r6l5llmqw4wpwru Verified locally on macOS 15 / Apple Clang Release: all four itkConnectedComponentImageFilterTest{,RGB,2,3} tests pass against the new primary baselines with no fall-through to alternates.
1 parent cdd4f4f commit da7d860

6 files changed

Lines changed: 3 additions & 6 deletions

Testing/Data/Baseline/BasicFilters/ConnectedComponentImageFilterTest.1.png.cid

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bafkreidv7hznlkcvddhdi7udpvsvqd7q677dhiamqenhskxyq53vogf62q
1+
bafkreibyjpytxv46k6mkxo3sadppjvs6b5vjqwqcz6u4vkzpp2btmge4fm

Testing/Data/Baseline/BasicFilters/ConnectedComponentImageFilterTest2.1.png.cid

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bafkreihut6bgxwhnrmts5ov5hr357n4u7m53f2sjquuobazjizetlqb4ky
1+
bafkreif6vtfmpapapqk5q5xlitj7g72pdihcrrncdf5cwgtnexu36cj6rm

Testing/Data/Baseline/BasicFilters/ConnectedComponentImageFilterTest3.1.png.cid

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bafkreifvvwy6zmh7td3cutymiervm7ipqgkfwx6rxuyxej2acw4i5ebcmu
1+
bafkreibxbxqmcg73nig3ncv7gt2rqdcj7nfw72r3be4r6l5llmqw4wpwru

0 commit comments

Comments
 (0)