From 53ce89fc116edd393e58439e213a15636f2da8de Mon Sep 17 00:00:00 2001 From: aiongg Date: Thu, 22 Oct 2026 02:37:51 +0000 Subject: [PATCH] Integration: #1616 move the overcast-scene doc comment back to its test --- crates/engine/src/camera_preview.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/engine/src/camera_preview.rs b/crates/engine/src/camera_preview.rs index 7cf137dd0..7cd336de1 100644 --- a/crates/engine/src/camera_preview.rs +++ b/crates/engine/src/camera_preview.rs @@ -3828,9 +3828,6 @@ mod tests { assert!(tone.apply(0.05) < tone.apply(0.2) && tone.apply(0.2) < tone.apply(0.8)); } - /// An overcast, nearly colourless scene (under 5% of the pixels coloured, so no colour matrix is - /// learnt and the full look is never tried) whose camera renders it two stops brighter than the - /// neutral fallback: the partial look is the tone curve (and chroma curve) alone. fn near_black_scene() -> (Rgb32f, Rgb32f) { let mut sensor = Rgb32f::new(96, 64); let mut reference = sensor.clone(); @@ -3935,6 +3932,9 @@ mod tests { assert!(fit_dark_tone(&sensor, &reference, &[]).is_none(), "mismatched clip mask"); } + /// An overcast, nearly colourless scene (under 5% of the pixels coloured, so no colour matrix is + /// learnt and the full look is never tried) whose camera renders it two stops brighter than the + /// neutral fallback: the partial look is the tone curve (and chroma curve) alone. #[test] fn partial_look_brightens_a_dull_scene_without_learning_colour() { let (w, h) = (96usize, 64usize);