diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-10-05 08:06:12 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-10-05 08:06:12 +0000 |
commit | b090accba15e71ac0c4823d1aa604b6beaadb335 (patch) | |
tree | de80388f125300329aa6dfbffedcf3dbb0ff1ca0 /test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala | |
parent | c1f8dbca52899f87128ece2f5d137fb91206ede7 (diff) | |
download | scala-b090accba15e71ac0c4823d1aa604b6beaadb335.tar.gz scala-b090accba15e71ac0c4823d1aa604b6beaadb335.tar.bz2 scala-b090accba15e71ac0c4823d1aa604b6beaadb335.zip |
An issue with scalacheck and actors where an ex...
An issue with scalacheck and actors where an excess of thread pools gets created - tmp fix. No review.
Diffstat (limited to 'test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala')
-rw-r--r-- | test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala b/test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala index 2c62c054b5..9169890e98 100644 --- a/test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala +++ b/test/files/scalacheck/parallel-collections/ParallelArrayCheck.scala @@ -39,11 +39,11 @@ abstract class ParallelArrayCheck[T](tp: String) extends ParallelSeqCheck[T]("Pa pa } - // property("array mappings must be equal") = forAll(collectionPairs) { case (t, coll) => - // val results = for ((f, ind) <- mapFunctions.zipWithIndex) - // yield ("op index: " + ind) |: t.map(f) == coll.map(f) - // results.reduceLeft(_ && _) - // } + property("array mappings must be equal") = forAll(collectionPairs) { case (t, coll) => + val results = for ((f, ind) <- mapFunctions.zipWithIndex) + yield ("op index: " + ind) |: t.map(f) == coll.map(f) + results.reduceLeft(_ && _) + } } |