Format the shading alpha test (#3176)

This commit is contained in:
MarekSpodBiedry
2026-10-18 14:05:26 +02:00
parent b744866dee
commit cf1305fa4a
+1 -1
View File
@@ -6788,7 +6788,7 @@ trailer << /Root 1 0 R >>
// Red at 25% over white is about (255, 191, 191); opaque red would be (255, 0, 0).
for (what, x, y) in [("the stroke under /CA 0.25", 50, 25), ("the fill under /ca 0.25", 50, 75)] {
let c = px(x, y);
assert!(c[0] >= 250 &&(185..=197).contains(&c[1]) && (185..=197).contains(&c[2]), "{what}: {c:?}");
assert!(c[0] >= 250 && (185..=197).contains(&c[1]) && (185..=197).contains(&c[2]), "{what}: {c:?}");
}
}