summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/parallel-collections/pc.scala
blob: ffc5eff78b71ac0d66ef026ebc463f4fc9d2dabf (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._


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)
  }
}