Lower the trial number in decaf_random

The radix_51 implementation has many more debug checks, so this takes quite
long to run, and it's rude to run a fuzzer on the CI server.
This commit is contained in:
Henry de Valence 2017-05-20 20:16:11 -07:00
parent 27dbfa9536
commit 58982cbc2b

View file

@ -789,7 +789,7 @@ mod test {
#[test]
fn decaf_random_is_valid() {
let mut rng = OsRng::new().unwrap();
for _ in 0..10_000 {
for _ in 0..100 {
let P = DecafPoint::random(&mut rng);
// Check that P is on the curve
assert!(P.0.is_valid());