mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
factor: expand glob import in test
This commit is contained in:
parent
20a8b5ac9e
commit
74a95bc7a5
1 changed files with 1 additions and 1 deletions
|
@ -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>>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue