Skip to content

ENH: Convert itkBresenhamLineTest to itkBresenhamLineGTest#5880

Merged
hjmjohnson merged 2 commits intoInsightSoftwareConsortium:mainfrom
hjmjohnson:convert-itkbresenhamlinetest-to-itkbresenhamlinegtest
Mar 11, 2026
Merged

ENH: Convert itkBresenhamLineTest to itkBresenhamLineGTest#5880
hjmjohnson merged 2 commits intoInsightSoftwareConsortium:mainfrom
hjmjohnson:convert-itkbresenhamlinetest-to-itkbresenhamlinegtest

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

Convert legacy ITK CTest driver test to GoogleTest (GTest) framework.

This is part of the ongoing effort to modernize ITK's test suite by converting no-argument CTest tests to the GoogleTest framework for improved test organization, better failure reporting, and modern C++ testing practices.

🤖 Generated with Claude Code

@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Enhancement Improvement of existing methods or implementation type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Core Issues affecting the Core module labels Mar 8, 2026
@hjmjohnson hjmjohnson force-pushed the convert-itkbresenhamlinetest-to-itkbresenhamlinegtest branch from b06b92d to df0b354 Compare March 8, 2026 19:24
@hjmjohnson hjmjohnson force-pushed the convert-itkbresenhamlinetest-to-itkbresenhamlinegtest branch from df0b354 to 2e80173 Compare March 9, 2026 11:27
@hjmjohnson hjmjohnson marked this pull request as draft March 9, 2026 17:26
@hjmjohnson hjmjohnson force-pushed the convert-itkbresenhamlinetest-to-itkbresenhamlinegtest branch from 2e80173 to fe109a4 Compare March 11, 2026 11:30
@hjmjohnson hjmjohnson marked this pull request as ready for review March 11, 2026 12:44
hjmjohnson and others added 2 commits March 11, 2026 09:49
Replace legacy CTest driver test with GoogleTest framework. Splits into
two test cases: BuildLineFromVector and BuildLineFromIndices. Replaces
manual error-checking with EXPECT_EQ assertions on line length and per-element
index values.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hjmjohnson hjmjohnson force-pushed the convert-itkbresenhamlinetest-to-itkbresenhamlinegtest branch from a917b0b to bc6ebc1 Compare March 11, 2026 14:49
@hjmjohnson hjmjohnson merged commit add7004 into InsightSoftwareConsortium:main Mar 11, 2026
12 of 17 checks passed
@hjmjohnson hjmjohnson deleted the convert-itkbresenhamlinetest-to-itkbresenhamlinegtest branch March 12, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module type:Enhancement Improvement of existing methods or implementation type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants