test(io): size the Affinity shape-cache test's pixel budget in whole tiles

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
vangel76andClaude Sonnet 5.5 committed 2026-11-13 00:14:41 +01:00
1 parent 70f9048bb9
commit 0c4eccefb2
1 file changed
+1 -1
+1 -1
View File
@@ -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");