diff options
Diffstat (limited to 'test/files/scalacheck/parallel-collections/pc.scala')
-rw-r--r-- | test/files/scalacheck/parallel-collections/pc.scala | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/files/scalacheck/parallel-collections/pc.scala b/test/files/scalacheck/parallel-collections/pc.scala new file mode 100644 index 0000000000..ffc5eff78b --- /dev/null +++ b/test/files/scalacheck/parallel-collections/pc.scala @@ -0,0 +1,20 @@ + + + + +import org.scalacheck._ +import scala.collection.parallel._ + + +class ParCollProperties extends Properties("Parallel collections") { + // parallel arrays + include(mutable.IntParallelArrayCheck) +} + + +object Test { + def main(args: Array[String]) { + val results = org.scalacheck.Test.checkProperties(new ParCollProperties) + if (!results.forall(_._2.passed)) println(results) + } +} |