diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-09-26 06:46:56 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-09-26 06:46:56 -0700 |
commit | 01b68268a94e247696f2993363427f87d5143140 (patch) | |
tree | 41c674d1a485c355a322339b2a465cba320a50fb /test/files/run | |
parent | 512b437f17627d84e98d48658529109dc109650f (diff) | |
parent | 188d69631573ee0f718fce47689e29f16a46ea08 (diff) | |
download | scala-01b68268a94e247696f2993363427f87d5143140.tar.gz scala-01b68268a94e247696f2993363427f87d5143140.tar.bz2 scala-01b68268a94e247696f2993363427f87d5143140.zip |
Merge pull request #1396 from axel22/issue/6410
SI-6410 add test cases.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t6410.check | 2 | ||||
-rw-r--r-- | test/files/run/t6410.scala | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/t6410.check b/test/files/run/t6410.check new file mode 100644 index 0000000000..051fe4995a --- /dev/null +++ b/test/files/run/t6410.check @@ -0,0 +1,2 @@ +ParMap(0 -> 4, 1 -> 5) +ParMap(0 -> 4, 1 -> 5)
\ No newline at end of file diff --git a/test/files/run/t6410.scala b/test/files/run/t6410.scala new file mode 100644 index 0000000000..2a001b47ab --- /dev/null +++ b/test/files/run/t6410.scala @@ -0,0 +1,9 @@ + + + +object Test extends App { + val x = collection.parallel.mutable.ParArray.range(1,10) groupBy { _ % 2 } mapValues { _.size } + println(x) + val y = collection.parallel.immutable.ParVector.range(1,10) groupBy { _ % 2 } mapValues { _.size } + println(y) +}
\ No newline at end of file |