The following use of Prop.collect((a, b))
isn't printing the statistics as expected even though the test runs successfully.
import org.scalacheck.Prop
import org.scalatest.{GivenWhenThen, PropSpec}
import org.scalatest.prop.{Checkers, GeneratorDrivenPropertyChecks}
import org.scalacheck.Prop.AnyOperators
class AccountSpecWithMarkup extends PropSpec with Checkers with GeneratorDrivenPropertyChecks {
property("max") {
check({
(a:Int, b:Int) => {
Prop.collect((a, b)) {
a != b || a == b
}
}
})
}
}