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

abstract archive tests added #15

Merged
merged 4 commits into from
Mar 21, 2018
Merged

Conversation

felixreimann
Copy link
Collaborator

  • Unit test for AbstractArchiveTest
  • rethrow Exceptions

discarding candidates with equal objectives wrt. archived individuals
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 16.511% when pulling d8d4dbe on feature/archives-test into e472c45 on master.

String message = outOfBoundException.getMessage() == null ? "" : outOfBoundException.getMessage() + "\n";
message += "Can not initialize a genotype with " + n + " entries with the specified bounds";
throw new IndexOutOfBoundsException(message);
throw new IllegalArgumentException(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we had exactly this issue with Felix. I originally wanted to throw the IllegalArgumentException and he thought that rethrowing the exception would be better

@FedorSmirnov89 FedorSmirnov89 merged commit 6f469a4 into master Mar 21, 2018
@felixreimann felixreimann deleted the feature/archives-test branch March 21, 2018 18:19
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.

4 participants