summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/redblack.scala
Commit message (Collapse)AuthorAgeFilesLines
* Renamed object RedBlack to RedBlackTree.Erik Rozendaal2012-01-071-56/+57
| | | | | | This more clearly separates the new implementation from the now deprecated abstract class RedBlack and avoids naming conflicts for the member classes.
* Restore old RedBlack class to maintain backwards compatibility.Erik Rozendaal2012-01-061-28/+28
| | | | | | | | | The class is marked as deprecated and no longer used by the TreeMap/TreeSet implementation but is restored in case it was used by anyone else (since it was not marked as private to the Scala collection library). Renamed RedBlack.{Tree,RedTree,BlackTree} to Node, RedNode, and BlackNode to work around name clash with RedBlack class.
* Use null to represent empty trees. Removed Empty/NonEmpty classes.Erik Rozendaal2012-01-031-56/+56
|
* Made RedBlack private to the scala.collection.immutable package.Erik Rozendaal2011-12-281-6/+9
| | | | | Use ArrayStack instead of Stack in TreeIterator for slightly increased performance.
* Make sure the redblack test compiles and runs.Erik Rozendaal2011-12-281-40/+36
|
* Re-enable RedBlack's ScalaCheck test, which was disabled at r21829.Daniel C. Sobral2011-12-011-0/+213
| | | | | | | | | | I haven't been able to find any reason for that reversal, but this version is an improved version provided with SI-3796, which never got committed along with the patch. This version generates trees directly instead of using the methods under test. It also puts an upper bound on tree size and, therefore, execution time.
* Rolled partest back to r21328.Paul Phillips2010-05-061-157/+0
| | | | | | | | changes necessary to plug it back in while preserving everything which has happened since then in tests and such, but we should be the lookout for overreversion. Review by phaller (but as a formality, I don't think it requires direct review.)
* A redblack tree scalacheck test contributed by ...Paul Phillips2010-04-131-0/+157
A redblack tree scalacheck test contributed by dcsobral. No review.