mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
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:
1 parent
70f9048bb9
commit
0c4eccefb2
1 file changed
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user