diff options
Diffstat (limited to 'test/files/run/colltest1.scala')
-rw-r--r-- | test/files/run/colltest1.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/colltest1.scala b/test/files/run/colltest1.scala index 2fc8af2390..7069c052a5 100644 --- a/test/files/run/colltest1.scala +++ b/test/files/run/colltest1.scala @@ -127,6 +127,8 @@ object Test extends Application { assert(ten.patch(0, List(1, 2, 3), 9) == List(1, 2, 3, 10)) assert(empty.padTo(10, 7) == Array.fill(10)(7).toSequence) assert((ten zip ten.indices) == ten.zipWithIndex) + assert(ten sortWith (_ < _) == ten) + assert(ten sortWith (_ > _) == ten.reverse) } def setTest(empty: => Set[String]) { |