diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-06-19 17:57:19 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-06-19 17:57:19 +0000 |
commit | 09dd9eb7efc36a7610f43b3ad31c82aa40e56544 (patch) | |
tree | f6d4d1f9478df67f8fa75adeb02e9e023f4d7b1f /test | |
parent | 627257dfbb281b8e32a9aafd006703ff4fa3854c (diff) | |
download | scala-09dd9eb7efc36a7610f43b3ad31c82aa40e56544.tar.gz scala-09dd9eb7efc36a7610f43b3ad31c82aa40e56544.tar.bz2 scala-09dd9eb7efc36a7610f43b3ad31c82aa40e56544.zip |
Decrease the size of array used for the stress ...
Decrease the size of array used for the stress test
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/sort.check | 2 | ||||
-rw-r--r-- | test/files/run/sort.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/sort.check b/test/files/run/sort.check index fd2c2dbf21..e06a4f666f 100644 --- a/test/files/run/sort.check +++ b/test/files/run/sort.check @@ -1,4 +1,4 @@ -1000000 +100000 List(1, 2, 3, 5, 10) List(10, 5, 3, 2, 1) List(10) diff --git a/test/files/run/sort.scala b/test/files/run/sort.scala index 7112cd8c74..899fea551e 100644 --- a/test/files/run/sort.scala +++ b/test/files/run/sort.scala @@ -1,5 +1,5 @@ object Test extends Application { - println((1 to 1000000).toList.sort(_<_).length) + println((1 to 100000).toList.sort(_<_).length) println(List(1, 5, 10, 3, 2).toList.sort(_<_)) println(List(1, 5, 10, 3, 2).toList.sort(_>_)) println(List(10).toList.sort(_<_)) |