summaryrefslogtreecommitdiff
path: root/test/files/run/search.check
diff options
context:
space:
mode:
authorAlexander Clare <alexander.clare@gmail.com>2012-07-12 07:59:42 -0500
committerAlexander Clare <alexander.clare@gmail.com>2012-07-12 07:59:42 -0500
commitab0e09bb44567a19690529c03cb388295ce5d338 (patch)
tree28d709cb78c9f708173bef105f6776ae5e613230 /test/files/run/search.check
parent758f0a7ac5366c9748739032383456b6e7727d37 (diff)
downloadscala-ab0e09bb44567a19690529c03cb388295ce5d338.tar.gz
scala-ab0e09bb44567a19690529c03cb388295ce5d338.tar.bz2
scala-ab0e09bb44567a19690529c03cb388295ce5d338.zip
SI-5906 Search for sorted sequences
Augments sequence classes with search functionality, using binary search (comparable to that found in java.util.Collections) for indexed sequences and linear search for others.
Diffstat (limited to 'test/files/run/search.check')
-rw-r--r--test/files/run/search.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/search.check b/test/files/run/search.check
new file mode 100644
index 0000000000..3dc3c9d369
--- /dev/null
+++ b/test/files/run/search.check
@@ -0,0 +1,6 @@
+Right(2)
+Right(4)
+Left(9)
+Right(2)
+Right(4)
+Left(9)