diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-04-14 16:09:33 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-04-14 16:09:33 +0000 |
commit | 09e192caea0fe2b8afaed96a7077e8cf52af2345 (patch) | |
tree | 356cb0692eefc6703502339d271e7bcda9a437f1 /test/files/run | |
parent | 09028a4fa5cf66a98080baa26cdadba29314c640 (diff) | |
download | scala-09e192caea0fe2b8afaed96a7077e8cf52af2345.tar.gz scala-09e192caea0fe2b8afaed96a7077e8cf52af2345.tar.bz2 scala-09e192caea0fe2b8afaed96a7077e8cf52af2345.zip |
Adding some docs refactorings.
Also, added some docs variables to Gen* traits that were missing.
No review.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/pc-conversions.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/pc-conversions.scala b/test/files/run/pc-conversions.scala index 8f6a7744d9..6be0f99355 100644 --- a/test/files/run/pc-conversions.scala +++ b/test/files/run/pc-conversions.scala @@ -49,8 +49,13 @@ object Test { assertToPar(parallel.immutable.ParHashSet(1 -> 3)) assertToParWoMap(immutable.Range(1, 10, 2)) + + // seq and par again conversions) + assertSeqPar(parallel.mutable.ParArray(1, 2, 3)) } + def assertSeqPar[T](pc: parallel.ParIterable[T]) = pc.seq.par == pc + def assertSeq[T](pc: parallel.ParIterable[T]) = assert(pc.seq == pc) def assertPar[T, P <: Parallel](xs: GenIterable[T]) = assert(xs == xs.par) |