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.
This commit is contained in:
dotCooCoo committed 2026-11-17 10:43:11 -08:00
1 parent b314df82cf
commit eaf50e01ef
1 file changed
+3 -3
+3 -3
View File
@@ -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<f32> = (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 {