summaryrefslogtreecommitdiff
path: root/test/files/run/search.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-7372 fix wrong insertion point for binary & linear search.Antoine Gourlay2014-06-041-2/+2
| | | | | It should return the position the value would have if it was a part of the sequence. Somehow even the test was wrong.
* Changes suggested by @retronym and @jsuerethAlexander Clare2012-07-161-6/+6
| | | | | | Change return type to case classes, branch between functions depending on IndexedSeq instead of IndexedSeqLike, and alter tests accordingly. Clean up doc comments and reflect changes in them.
* SI-5906 Search for sorted sequencesAlexander Clare2012-07-121-0/+6
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.