From 0c4eccefb2087c1ef78dd8bea13462394c8bb99b Mon Sep 17 00:00:00 2001 From: vangel76 Date: Fri, 13 Nov 2026 00:14:41 +0100 Subject: [PATCH] test(io): size the Affinity shape-cache test's pixel budget in whole tiles Co-Authored-By: Claude Sonnet 5.5 --- crates/io/src/affinity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/io/src/affinity.rs b/crates/io/src/affinity.rs index ef35c62214..927fa142d6 100644 --- a/crates/io/src/affinity.rs +++ b/crates/io/src/affinity.rs @@ -934,7 +934,7 @@ mod tests { let d = page(nodes); let mut b = Builder::new("mixed", &d).unwrap(); b.cache_budget = 4 * 256 * 256 * 4; - b.pixel_budget = 64 * 64 * 4; + b.pixel_budget = 256 * 256 * 4; // one whole tile for the image b.document(&d).unwrap(); assert_eq!(b.uncached_shapes, 60); assert!(b.doc.layers.iter().any(|l| matches!(l.content, LayerContent::Smart(_) | LayerContent::Raster(_))), "the image must import");