Skip to content

Commit

Permalink
Tests: Fixing clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rrtoledo committed Jan 14, 2025
1 parent 0b2aacb commit 25c468d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/centralized_telescope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ const DATA_LENGTH: usize = 32;
fn test(created_with_params: bool) {
let mut rng = ChaCha20Rng::from_seed(Default::default());
let nb_tests = 1_000;
let set_size = 1_000;
let set_size: u64 = 1_000;
let params = Params {
soundness_param: 10.0,
completeness_param: 10.0,
set_size: 80 * set_size / 100,
lower_bound: 20 * set_size / 100,
set_size: set_size.saturating_mul(80).div_ceil(100),
lower_bound: set_size.saturating_mul(20).div_ceil(100),
};
for _t in 0..nb_tests {
let seed = rng.next_u32().to_be_bytes().to_vec();
Expand Down

0 comments on commit 25c468d

Please sign in to comment.