Skip to content

Commit

Permalink
Increase input size to xxh3 test up to 4096 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Feb 17, 2024
1 parent 68cb5b3 commit 5479a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/assert_correctness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ fn assert_xxh3() {
let mut hasher_1_128 = Xxh3::new();
let mut hasher_2_128 = Xxh3::with_seed(1);

let mut input = Vec::with_capacity(2048);
for num in 0..2048 {
let mut input = Vec::with_capacity(4096);
for num in 0..input.capacity() {
input.resize(num, 1);
println!("input(len={})", input.len());
getrandom(&mut input).expect("getrandom");
Expand Down

0 comments on commit 5479a66

Please sign in to comment.