summary refs log tree commit diff
path: root/src/libcoretest/num
AgeCommit message (Collapse)AuthorLines
2014-09-05Make integer bit count methods return uintsBrendan Zabarauskas-6/+6
Fixes rust-lang/rfcs#224
2014-07-04Change Shl<T, T> for Int to Shl<uint, T>Samuel Neves-4/+4
2014-07-02Fix rotate_{left, right} for multiple of bitsize rotation amountsSamuel Neves-0/+18
Add additional rotation tests
2014-06-29Extract tests from libcore to a separate crateSteven Fackler-0/+427
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.