We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since the Arbitrary instance for Option[A] will only generate None when size is zero, it's easy to write passing tests that should fail:
scala> import org.scalacheck.Prop.forAll import org.scalacheck.Prop.forAll scala> (forAll { (x: Option[Int], y: Option[Int]) => x.isDefined == y.isDefined }).check + OK, passed 100 tests.
The text was updated successfully, but these errors were encountered:
Holy moly, this is not good. Got a patch?
Sorry, something went wrong.
Just found this. Working on it.
Coolo. Thanks for being awesome.
ap
bind
I accidentally duplicated this with issue #76
No branches or pull requests
Since the Arbitrary instance for Option[A] will only generate None when size is zero, it's easy to write passing tests that should fail:
The text was updated successfully, but these errors were encountered: