Skip to content

TEST: Add edge case tests for option validation utilities#1256

Open
bhumigaddam wants to merge 2 commits intojonescompneurolab:masterfrom
bhumigaddam:test-utils-edge-cases
Open

TEST: Add edge case tests for option validation utilities#1256
bhumigaddam wants to merge 2 commits intojonescompneurolab:masterfrom
bhumigaddam:test-utils-edge-cases

Conversation

@bhumigaddam
Copy link

While exploring the testing infrastructure in HNN-Core, related to improving the testing infrastructure discussed in issue #1118.I noticed that some utility functions responsible for validating input options did not have
dedicated tests covering edge cases.

This PR adds a small set of tests that verify both valid and invalid option
handling for the _check_option utility function. The tests ensure that
valid inputs are accepted and that incorrect values raise the expected
exceptions.

Adding these edge-case tests helps strengthen the reliability of the
validation utilities and improves coverage for functions that are used
across different parts of the codebase.

I’m continuing to explore the testing infrastructure and look forward to
contributing further improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant