1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-03 06:27:45 +00:00

factor: reduce number of random tests

This commit is contained in:
Michael Gehring 2015-09-28 10:38:04 +02:00
parent e82244d604
commit 998d2dedb4

View file

@ -22,7 +22,7 @@ mod sieve;
const NUM_PRIMES: usize = 10000; const NUM_PRIMES: usize = 10000;
const LOG_PRIMES: f64 = 14.0; // ceil(log2(NUM_PRIMES)) const LOG_PRIMES: f64 = 14.0; // ceil(log2(NUM_PRIMES))
const NUM_TESTS: usize = 1000; const NUM_TESTS: usize = 100;
const PROGNAME: &'static str = "./factor"; const PROGNAME: &'static str = "./factor";
#[test] #[test]