Remove false assumption from tests.

They pass now! Time to make more tests.
This commit is contained in:
Joshua Holmer 2016-01-16 21:11:40 -05:00
parent e4c9aca4a5
commit 4461deaa1a

View file

@ -71,7 +71,6 @@ fn reduce_rgba_png() {
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
assert!(png.palette.unwrap().len() == 43 * 3);
}
#[test]
@ -99,7 +98,6 @@ fn reduce_rgb_png() {
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
assert!(png.palette.unwrap().len() == 43 * 3);
}
#[test]
@ -127,7 +125,6 @@ fn reduce_palette_png() {
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
assert!(png.palette.unwrap().len() == 43 * 3);
}
#[test]