rust/library/core/tests
Chai T. Rex 0cac915211 Improve isqrt tests and add benchmarks
* Choose test inputs more thoroughly and systematically.
* Check that `isqrt` and `checked_isqrt` have equivalent results for
  signed types, either equivalent numerically or equivalent as a panic
  and a `None`.
* Check that `isqrt` has numerically-equivalent results for unsigned
  types and their `NonZero` counterparts.
* Reuse `ilog10` benchmarks, plus benchmarks that use a uniform
  distribution.
2024-08-28 23:06:54 -04:00
..
async_iter
ffi CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
fmt Implement debug_more_non_exhaustive 2024-07-21 12:05:02 -05:00
hash Reformat use declarations. 2024-07-29 08:26:52 +10:00
io
iter Reformat use declarations. 2024-07-29 08:26:52 +10:00
net Reformat use declarations. 2024-07-29 08:26:52 +10:00
num Improve isqrt tests and add benchmarks 2024-08-28 23:06:54 -04:00
ops Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
panic
alloc.rs
any.rs
array.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ascii_char.rs core: optimise Debug impl for ascii::Char 2024-08-09 22:50:57 +02:00
ascii.rs
asserting.rs
atomic.rs
bool.rs
cell.rs
char.rs
clone.rs impl CloneToUninit for str and CStr 2024-07-29 20:33:11 +03:00
cmp.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
const_ptr.rs
convert.rs
error.rs
ffi.rs CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
future.rs Avoid ref when using format! for perf 2024-07-19 12:23:49 -04:00
intrinsics.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
lazy.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Remove cfg(test) from library/core 2024-08-25 20:04:26 -04:00
macros.rs
manually_drop.rs
mem.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
nonzero.rs
ops.rs Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
option.rs Make Option::as_[mut_]slice const 2024-06-19 21:44:47 +01:00
panic.rs
pattern.rs
pin_macro.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
pin.rs PinCoerceUnsized trait into core 2024-07-31 17:10:55 +08:00
ptr.rs ignore some vtable/fn ptr equality tests in Miri, their result is not fully predictable 2024-08-12 10:39:11 +02:00
result.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
simd.rs
slice.rs Rewrite binary search implementation 2024-07-30 17:07:56 +01:00
str_lossy.rs Stabilize Utf8Chunks 2024-04-24 15:27:47 -07:00
str.rs
task.rs
time.rs
tuple.rs
unicode.rs
waker.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00