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

Exception handling errors in TheoryBuilder #43

Open
brijendra98 opened this issue Mar 13, 2018 · 0 comments
Open

Exception handling errors in TheoryBuilder #43

brijendra98 opened this issue Mar 13, 2018 · 0 comments

Comments

@brijendra98
Copy link

If the piece of code inside .check(...) might throw an exception, then code doesn't compile.
This is because QuickTheory assumes that the arbitrary predicate inside .check(...) never throws an exception.
To fix this, all methods in TheoryBuilder should be marked as throws Exception because they might actually throw an exception.

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

1 participant