Remove false assumption from tests.
They pass now! Time to make more tests.
This commit is contained in:
parent
e4c9aca4a5
commit
4461deaa1a
1 changed files with 0 additions and 3 deletions
|
|
@ -71,7 +71,6 @@ fn reduce_rgba_png() {
|
||||||
|
|
||||||
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
|
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
|
||||||
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
||||||
assert!(png.palette.unwrap().len() == 43 * 3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
@ -99,7 +98,6 @@ fn reduce_rgb_png() {
|
||||||
|
|
||||||
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
|
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
|
||||||
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
||||||
assert!(png.palette.unwrap().len() == 43 * 3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
@ -127,7 +125,6 @@ fn reduce_palette_png() {
|
||||||
|
|
||||||
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
|
assert!(png.ihdr_data.color_type == png::ColorType::Indexed);
|
||||||
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
||||||
assert!(png.palette.unwrap().len() == 43 * 3);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue