Skip to content

More Extensive Test for NSGA2Generator._generate Permutation#441

Merged
roussel-ryan merged 1 commit into
xopt-org:mainfrom
electronsandstuff:pierce/order-test
Jun 30, 2026
Merged

More Extensive Test for NSGA2Generator._generate Permutation#441
roussel-ryan merged 1 commit into
xopt-org:mainfrom
electronsandstuff:pierce/order-test

Conversation

@electronsandstuff

Copy link
Copy Markdown
Collaborator

This PR adds more extensive testing for #437. Instead of testing two variables and the code path after population exists, this increase the test to generating 32 randomly named variables in shuffled order with non-overlapping bounds, generating candidates from both the random sampling code-path and the crossover/mutation code-path and confirming bounds are satisfied. This will catch a much wider variety of issues.

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@roussel-ryan roussel-ryan merged commit 210ad37 into xopt-org:main Jun 30, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants