blob: d369faf8043dc4853997421e67632774a0b846a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import org.scalacheck._
import scala.collection.parallel._
object ParCollProperties extends Properties("Parallel collections") {
include(mutable.IntParallelArrayCheck)
include(immutable.ParallelRangeCheck)
}
object Test {
def main(args: Array[String]) {
val results = org.scalacheck.Test.checkProperties(ParCollProperties)
if (!results.forall(_._2.passed)) println(results)
}
}
|