From eaf50e01ef4cddf96603a92e67c251ad623c0253 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Tue, 17 Nov 2026 10:43:11 -0800 Subject: [PATCH] Tests: name the FOGRA ink-order test after the limit it checks more_ink_never_lightens_a_build allows an L* rise of up to 0.3 (the largest is 0.193 for FOGRA51 and 0.234 for FOGRA52). The test is now more_ink_lightens_a_build_by_less_than_0_3_l, and its comment states the limit. --- crates/color/src/cms/tests_measured.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/color/src/cms/tests_measured.rs b/crates/color/src/cms/tests_measured.rs index 25983e91bb..5789605fcc 100644 --- a/crates/color/src/cms/tests_measured.rs +++ b/crates/color/src/cms/tests_measured.rs @@ -91,10 +91,10 @@ fn the_fit_predicts_patches_it_left_out() { } } -/// More of any ink never makes a build lighter, also where the data has few patches (black above -/// 60%, and builds over the ink limit). +/// More of any ink makes a build lighter by less than 0.3 L*, also where the data has few patches +/// (black above 60%, and builds over the ink limit). #[test] -fn more_ink_never_lightens_a_build() { +fn more_ink_lightens_a_build_by_less_than_0_3_l() { let steps: Vec = (0..=20).map(|i| i as f32 / 20.0).collect(); let coarse = [0.0, 0.25, 0.5, 0.75, 1.0]; for c in &measured::CONDITIONS {