diff options
Diffstat (limited to 'test/files/scalacheck/parallel-collections/ParallelIterableCheck.scala')
-rw-r--r-- | test/files/scalacheck/parallel-collections/ParallelIterableCheck.scala | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/scalacheck/parallel-collections/ParallelIterableCheck.scala b/test/files/scalacheck/parallel-collections/ParallelIterableCheck.scala index 60e8c8b1f2..9ddd5781b9 100644 --- a/test/files/scalacheck/parallel-collections/ParallelIterableCheck.scala +++ b/test/files/scalacheck/parallel-collections/ParallelIterableCheck.scala @@ -414,6 +414,22 @@ abstract class ParallelIterableCheck[T](collName: String) extends Properties(col }).reduceLeft(_ && _) } + // property("groupBy must be equal") = forAll(collectionPairs) { + // case (t, coll) => + // (for ((f, ind) <- groupByFunctions.zipWithIndex) yield { + // val tgroup = t.groupBy(f) + // val cgroup = coll.groupBy(f) + // if (tgroup != cgroup || cgroup != tgroup) { + // println("from: " + t) + // println("and: " + coll) + // println("groups are: ") + // println(tgroup) + // println(cgroup) + // } + // ("operator " + ind) |: tgroup == cgroup && cgroup == tgroup + // }).reduceLeft(_ && _) + // } + } |