craft-cms: gate runs white-exactness with bpc on

This commit is contained in:
aiongg
2026-11-24 19:49:34 +00:00
parent 3b182a7f7c
commit 2b4bcffc9b
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -20,4 +20,5 @@ md5 = { workspace = true }
rayon = { workspace = true }
[dev-dependencies]
craft-testkit = { workspace = true }
moxcms = "0.8"
+3 -1
View File
@@ -115,7 +115,9 @@ fn white_is_exact_on_every_path() {
let none = [0.0f32; 4];
for cmyk in [Builtin::CoatedCmyk, Builtin::CoatedFogra39] {
for intent in [Intent::Perceptual, Intent::RelativeColorimetric, Intent::Saturation] {
for bpc in [false, true] {
// The gate runs black point compensation on; nightly both.
let bpcs: &[bool] = if craft_testkit::hostile::divisor() > 1 { &[true] } else { &[false, true] };
for &bpc in bpcs {
for precise_float in [false, true] {
let opts = TransformOptions { intent, bpc, precise_float };
let at = format!("{cmyk:?} {opts:?}");