summary refs log tree commit diff
path: root/src/libcoretest/cmp.rs
AgeCommit message (Collapse)AuthorLines
2014-09-25Add partial_min/max to libcore/cmpTill Hoeppner-0/+67
Add partial_min/max to libcore/cmp Match against None and mark as experimental Shortened documentation. Removed whitespace
2014-09-22Update calls of deprecated functions in macros.Victor Berger-0/+1
Fallout of #17185.
2014-08-03core: add a reverse method to Ordering.Huon Wilson-0/+7
This flips the comparison and is designed to be used when sorting etc.
2014-06-29Extract tests from libcore to a separate crateSteven Fackler-0/+69
Libcore's test infrastructure is complicated by the fact that many lang items are defined in the crate. The current approach (realcore/realstd imports) is hacky and hard to work with (tests inside of core::cmp haven't been run for months!). Moving tests to a separate crate does mean that they can only test the public API of libcore, but I don't feel that that is too much of an issue. The only tests that I had to get rid of were some checking the various numeric formatters, but those are also exercised through normal format! calls in other tests.