Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: crossover module #166

Merged
merged 3 commits into from
Nov 21, 2022
Merged

tests: crossover module #166

merged 3 commits into from
Nov 21, 2022

Conversation

kkafar
Copy link
Collaborator

@kkafar kkafar commented Nov 21, 2022

Description

Just some basic tests.

I found it hard to test exact behaviour as it depends on generated random numbers.

This indicates that our code needs refactoring -- RNG should be passed as a parameter to these operators, so that it is possible to mock it & test implemented behavior.

Linked issues

Resolves #143

Important implementation details

@kkafar kkafar self-assigned this Nov 21, 2022
@kkafar kkafar force-pushed the @kkafar/test-crossover-module branch from 168d3e5 to 26b14c7 Compare November 21, 2022 19:37
@kkafar kkafar marked this pull request as ready for review November 21, 2022 21:58
@kkafar kkafar merged commit f2b9132 into main Nov 21, 2022
@kkafar kkafar deleted the @kkafar/test-crossover-module branch November 21, 2022 21:58
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.

[GA] Test - crossover module
1 participant