LR-EXP-METADATA: merge current main 472560b30 (#3839's fix to the clipping test, #3841) (#693)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alex ChambersandClaude Opus 5.5 committed 2026-11-06 03:31:31 +01:00
commit 55778d673c
1 file changed
+4
+4
View File
@@ -97,6 +97,10 @@ fn j_paints_clipped_highlights_red_and_clipped_shadows_blue() {
assert!(h.app.ui.show_clipping);
assert!(share_of(&h, red) > 0.5, "blown highlights shown in red: {}", share_of(&h, red));
set(&mut h, -5.0);
// the demo photo's shadows don't reach black on Exposure alone: Blacks crushes them
let r = h.request("engine.execute", json!({"command": "develop.set", "params": {"control": "light.blacks", "value": -100.0}}), T);
assert_eq!(r["ok"], true, "{r}");
h.settle(SETTLE);
assert!(share_of(&h, blue) > 0.01, "crushed shadows shown in blue: {}", share_of(&h, blue));
assert!(share_of(&h, red) < 0.01, "nothing blown at -5 EV: {}", share_of(&h, red));
}