diff --git a/tests/files/interlaced_vertical_filters.png b/tests/files/interlaced_vertical_filters.png new file mode 100644 index 00000000..e7aa76d9 Binary files /dev/null and b/tests/files/interlaced_vertical_filters.png differ diff --git a/tests/files/issue-92.png b/tests/files/issue-92.png deleted file mode 100644 index e1b5f96c..00000000 Binary files a/tests/files/issue-92.png and /dev/null differ diff --git a/tests/interlaced.rs b/tests/interlaced.rs index 43b3d6a7..a8931419 100644 --- a/tests/interlaced.rs +++ b/tests/interlaced.rs @@ -666,6 +666,17 @@ fn interlaced_small_files() { ); } +#[test] +fn interlaced_vertical_filters() { + test_it_converts( + "tests/files/interlaced_vertical_filters.png", + RGB, + BitDepth::Eight, + RGB, + BitDepth::Eight, + ); +} + #[test] fn interlaced_odd_width() { test_it_converts( diff --git a/tests/regression.rs b/tests/regression.rs index afa6819b..92308967 100644 --- a/tests/regression.rs +++ b/tests/regression.rs @@ -150,35 +150,6 @@ fn issue_89() { ); } -#[test] -fn issue_92_filter_0() { - test_it_converts( - "tests/files/issue-92.png", - None, - GRAYSCALE, - BitDepth::Eight, - GRAYSCALE, - BitDepth::Eight, - ); -} - -#[test] -fn issue_92_filter_5() { - let input = "tests/files/issue-92.png"; - let (_, mut opts) = get_opts(Path::new(input)); - opts.filter = [RowFilter::MinSum].iter().cloned().collect(); - let output = OutFile::from_path(Path::new(input).with_extension("-f5-out.png")); - - test_it_converts( - input, - Some((output, opts)), - GRAYSCALE, - BitDepth::Eight, - GRAYSCALE, - BitDepth::Eight, - ); -} - #[test] fn issue_129() { test_it_converts(