rust-random / rand

A Rust library for random number generation.
https://crates.io/crates/rand
Other
1.68k stars 431 forks source link

Add tests for `Uniform::try_from` with invalid ranges #1331

Closed vks closed 1 year ago

vks commented 1 year ago

This just adds a few tests making sure Uniform::try_from fails as expected.