diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-06-20 15:57:07 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-06-20 15:57:07 +0000 |
commit | 6f895f4cbd39bdd945be545bdf68631a4535fcc2 (patch) | |
tree | c6002daab0ff787f947924a9203aec4dc199b6b0 /test/files | |
parent | 2b41d0715513b279ee204f87ece443e12900fbe0 (diff) | |
download | scala-6f895f4cbd39bdd945be545bdf68631a4535fcc2.tar.gz scala-6f895f4cbd39bdd945be545bdf68631a4535fcc2.tar.bz2 scala-6f895f4cbd39bdd945be545bdf68631a4535fcc2.zip |
Moved a test to pending.
No review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/TestFlatMap.scala | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/files/run/TestFlatMap.scala b/test/files/run/TestFlatMap.scala deleted file mode 100644 index 5782a44aad..0000000000 --- a/test/files/run/TestFlatMap.scala +++ /dev/null @@ -1,31 +0,0 @@ -import scala.collection.parallel.{ ParMap => PMap } -import scala.collection.parallel.mutable.{ ParHashSet => PMHashSet, ParHashMap => PMHashMap, ParArray } -import scala.util.Random -import scala.collection.parallel.CompositeThrowable - -object Test { - - def main(args: Array[String]) { - /* disabled - val N = 1500 - val M = 1500 - var unmatchedLeft = new PMHashSet[Int] - var unmatchedRight = new PMHashSet[Int] - Range(0, N).foreach{ x => unmatchedLeft += x} - Range(0, M).foreach{ x => unmatchedRight += x} - - try { - val matches = unmatchedLeft.flatMap{ lind: Int => - val dists = unmatchedRight.seq.map{ rind: Int => - val dist = Random.nextInt - (rind, dist) - } - dists - } - } catch { - case c: CompositeThrowable => for (t <- c.throwables) println("\n%s\n%s".format(t, t.getStackTrace.mkString("\n"))) - } - */ - } - -} |