Repository navigation
Re-add Cauchy test with tolerance; remove moved crates. - #895
Conversation
rand_os has been deprecated since OsRng is now provided by rand_core The other crates have been moved to the rust-random/rngs repo.
Note: the init benches now use a different master RNG; this appears to have little affect on results.
| for (a,b) in buf.iter().zip(expected.iter()) { | ||
| let (a,b) = (*a, *b); | ||
| assert!((a - b).abs() < 1e-6, "expected: {} = {}", a, b); | ||
| } |
There was a problem hiding this comment.
Why didn't you leave the comparison in the function?
There was a problem hiding this comment.
Because so far it looks like we can assert exact equality for f64.
|
Maybe all the benchmarks should moved to rust-random/rngs? |
|
The failure looks like |
Tempting. But if we did that we'd only have benchmarks on the last released version (without hacking in a local path dependency or requiring git submodules). So I think the benches have to be split now. |
Looks like |
Addresses vks's concern.
Concludes #885 by removing all moved crates and
rand_os(now obsolete).