Proved is a Result case for properties established conclusively. Unlike Passed, it does not mean that testing found no counterexample after a fixed number of cases. section 8.2.3
Proved changes property execution in three ways:
- verify can return Proved after evaluating its Boolean argument once instead of reporting that it passed many tests. section 8.2.3
- Property combinators such as && can treat Proved alongside Passed without distinguishing them. section 8.2.3
Testing a parallel computation
Prop.verify checks that Par.unit(1).map(_ + 1) equals Par.unit(2), expressing the intent without pretending that 100 repeated tests provide a proof.
