1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

factor: expand glob import in test

This commit is contained in:
Daniel Hofstetter 2023-04-06 09:47:21 +02:00
parent 20a8b5ac9e
commit 74a95bc7a5

View file

@ -118,7 +118,7 @@ fn test_cli_args() {
#[test] #[test]
fn test_random() { fn test_random() {
use conv::prelude::*; use conv::prelude::ValueFrom;
let log_num_primes = f64::value_from(NUM_PRIMES).unwrap().log2().ceil(); let log_num_primes = f64::value_from(NUM_PRIMES).unwrap().log2().ceil();
let primes = Sieve::primes().take(NUM_PRIMES).collect::<Vec<u64>>(); let primes = Sieve::primes().take(NUM_PRIMES).collect::<Vec<u64>>();