Skip to content

Commit 188d696

Browse files
author
Aleksandar Prokopec
committed
SI-6410 add test cases.
1 parent f284ac5 commit 188d696

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

test/files/run/t6410.check

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ParMap(0 -> 4, 1 -> 5)
2+
ParMap(0 -> 4, 1 -> 5)

test/files/run/t6410.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
4+
object Test extends App {
5+
val x = collection.parallel.mutable.ParArray.range(1,10) groupBy { _ % 2 } mapValues { _.size }
6+
println(x)
7+
val y = collection.parallel.immutable.ParVector.range(1,10) groupBy { _ % 2 } mapValues { _.size }
8+
println(y)
9+
}

0 commit comments

Comments
 (0)