diff options
Diffstat (limited to 'tests/pending/run/t6052.scala')
-rw-r--r-- | tests/pending/run/t6052.scala | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/pending/run/t6052.scala b/tests/pending/run/t6052.scala deleted file mode 100644 index e740f00e1..000000000 --- a/tests/pending/run/t6052.scala +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - -object Test extends dotty.runtime.LegacyApp { - def seqarr(i: Int) = Array[Int]() ++ (0 until i) - def pararr(i: Int) = seqarr(i).par - - def check[T](i: Int, f: Int => T): Unit = { - val gseq = seqarr(i).toSeq.groupBy(f) - val gpar = pararr(i).groupBy(f) - assert(gseq == gpar, (gseq, gpar)) - } - - for (i <- 0 until 20) check(i, _ > 0) - for (i <- 0 until 20) check(i, _ % 2) - for (i <- 0 until 20) check(i, _ % 4) -} |