Batch 35: #1443's face-tile test passes the preview edge #1410 added

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-14 01:34:10 -04:00
co-authored by Claude Opus 5.5
parent 07f73c44da
commit 9b7d2e6ae2
+1 -1
View File
@@ -146,7 +146,7 @@ fn mean_abs_diff(a: &Rgba8, b: &Rgba8) -> f64 {
fn an_unedited_raws_face_comes_from_its_largest_preview() {
let (dir, mut s, id, file) = setup("preview");
// (the preview loader's planned read: the header and the preview, not the sensor strip)
let (_, _, read) = crate::files::preview_window(&file.to_string_lossy()).unwrap().unwrap();
let (_, _, read) = crate::files::preview_window(&file.to_string_lossy(), usize::MAX).unwrap().unwrap();
assert!(read.fraction() < 0.5, "{read:?}");
let loads = count_loads(&mut s);
let from_preview = tile(&mut s, id, FACE, 64).unwrap();