Follow-up to #2911: clippy in the OpenEXR round-trip test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vangel76
2026-11-03 01:53:16 +01:00
co-authored by Claude Opus 5.5
parent 32871be132
commit 50340011f5
+1 -1
View File
@@ -361,7 +361,7 @@ fn exr_compressions_and_bit_depths_round_trip() {
let reference = render(ExrCompression::None, ExrBitDepth::Float);
let (want, _) = exr_samples(&reference);
let want_pooled = pooled(&reference);
assert!(want.iter().any(|v| *v > 0.5) && want.iter().any(|v| *v == 0.0), "the frame has red, background and transparent corners");
assert!(want.iter().any(|v| *v > 0.5) && want.contains(&0.0), "the frame has red, background and transparent corners");
for d in ExrBitDepth::ALL {
let ty = if d == ExrBitDepth::Half { SampleType::F16 } else { SampleType::F32 };
for c in ExrCompression::ALL {