summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala')
-rw-r--r--test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala b/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
index 6b30f61b57..c4f241c02e 100644
--- a/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
+++ b/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
@@ -17,13 +17,13 @@ import scala.collection.parallel._
abstract class ParallelMapCheck[K, V](collname: String) extends ParallelIterableCheck[(K, V)](collname) {
type CollType <: ParMap[K, V] with Sequentializable[(K, V), Map[K, V]]
- property("gets iterated keys") = forAll(collectionPairs) {
- case (t, coll) =>
- val containsT = for ((k, v) <- t) yield (coll.get(k) == Some(v))
- val containsSelf = for ((k, v) <- coll) yield (coll.get(k) == Some(v))
- ("Par contains elements of seq map" |: containsT.forall(_ == true)) &&
- ("Par contains elements of itself" |: containsSelf.forall(_ == true))
- }
+ // property("gets iterated keys") = forAll(collectionPairs) {
+ // case (t, coll) =>
+ // val containsT = for ((k, v) <- t) yield (coll.get(k) == Some(v))
+ // val containsSelf = for ((k, v) <- coll) yield (coll.get(k) == Some(v))
+ // ("Par contains elements of seq map" |: containsT.forall(_ == true)) &&
+ // ("Par contains elements of itself" |: containsSelf.forall(_ == true))
+ // }
}