Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jabbate19 committed Dec 28, 2024
1 parent 6e0f489 commit 3d87630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion implants/lib/eldritch/src/random/int_impl.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use anyhow::Result;
use anyhow::Result;
use rand::Rng;
use rand_chacha::rand_core::SeedableRng;

Expand Down Expand Up @@ -35,7 +36,7 @@ mod tests {

let lower_bound = 0.90 * NUM_ITERATION as f64 / MAX_VALUE as f64;
let upper_bound = 1.10 * NUM_ITERATION as f64 / MAX_VALUE as f64;

for count in counts {
assert!(
count as f64 >= lower_bound && count as f64 <= upper_bound,
Expand Down

0 comments on commit 3d87630

Please sign in to comment.