You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 asthrows Exception
because they might actually throw an exception.The text was updated successfully, but these errors were encountered: