rust/library/core/tests
nils c962b07ed3
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
add tests for div_duration_* functions

Per https://github.com/rust-lang/rust/issues/63139#issuecomment-817070719

this adds unit tests for the functions that will hopefully effectively demonstrate that `div_duration` is ready to be stabilized.
2023-01-11 17:30:54 +01:00
..
fmt
hash Test const Hash, fix nits 2022-11-08 17:39:40 +01:00
iter Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trusted 2022-11-24 19:14:19 -08:00
num Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00
ops
panic
alloc.rs
any.rs Update bootstrap cfg 2022-12-28 09:18:43 -05:00
array.rs
ascii.rs
asserting.rs
atomic.rs
bool.rs
cell.rs
char.rs char: µoptimise UTF-16 surrogates decoding 2022-12-23 14:15:33 +01:00
clone.rs
cmp.rs
const_ptr.rs
convert.rs
future.rs
intrinsics.rs
lazy.rs
lib.rs Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00
macros.rs
manually_drop.rs
mem.rs Update bootstrap cfg 2022-12-28 09:18:43 -05:00
nonzero.rs
ops.rs
option.rs cfg-step code 2022-11-06 17:21:21 -05:00
panic.rs
pattern.rs
pin_macro.rs
pin.rs
ptr.rs Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
result.rs
simd.rs
slice.rs Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00
str_lossy.rs
str.rs Update paths in comments. 2022-12-30 14:00:42 +01:00
task.rs Remove test of static Context 2023-01-02 10:33:23 -08:00
time.rs add tests for div_duration_* functions 2023-01-07 11:05:33 -07:00
tuple.rs
unicode.rs
waker.rs