Skip to content

Commit

Permalink
add deflate test
Browse files Browse the repository at this point in the history
  • Loading branch information
chalharu committed Jul 24, 2018
1 parent 6bd6cd0 commit a02145f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/deflate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,17 @@ mod tests {
);
}

#[test]
fn test_long2() {
check(
&((144..256)
.cycle()
.take(224)
.map(|x| x as u8)
.collect::<Vec<u8>>()),
)
}

#[test]
fn test_multiblocks() {
let mut rng = XorShiftRng::from_seed([
Expand Down

0 comments on commit a02145f

Please sign in to comment.