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

Add new code examples #38

Open
1 task
sylvainhalle opened this issue Jul 7, 2021 · 0 comments
Open
1 task

Add new code examples #38

sylvainhalle opened this issue Jul 7, 2021 · 0 comments
Assignees

Comments

@sylvainhalle
Copy link
Contributor

sylvainhalle commented Jul 7, 2021

Other examples will come

This is more an "exercise to solve" than a "task to execute", so I omit some details on purpose. A few hints:

  • Create a descendant of PickIfSmaller object. The implementation of abstract method select should correspond to the primality check.
  • Create a main method that instantiates this object, call pick a few times on it and prints the values it returns.
@sylvainhalle sylvainhalle changed the title Reformulate the primality example of JUnit-Quickcheck Add new code examples Sep 10, 2021
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

No branches or pull requests

2 participants