From e0372eddc160678010c2b45be84a04af81ff63e5 Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Mon, 4 Oct 2010 14:05:35 +0000 Subject: Fixed a scalacheck test group "test entire subd... Fixed a scalacheck test group "test entire subdirectory" problem. It's now possible to add scalacheck tests consisting of multiple files. No review. --- test/files/scalacheck/parallel-collections/pc.scala | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/files/scalacheck/parallel-collections/pc.scala (limited to 'test/files/scalacheck/parallel-collections/pc.scala') 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) + } +} -- cgit v1.2.3