Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Tests: the nested culling tests require a symbol art count above zero

dotCooCoo996e4a825819
diff --git a/crates/render/src/tests.rs b/crates/render/src/tests.rs
index 865b117f0..e299a7d1f 100644
--- a/crates/render/src/tests.rs
+++ b/crates/render/src/tests.rs
@@ -342,6 +342,7 @@ fn nested_instances_are_culled_in_bounded_time(effect: Option<vectorcraft_doc::E
let (pixel, culled, measured) = rx.recv_timeout(std::time::Duration::from_secs(300)).expect("the frame within 300 s");
assert_eq!(pixel, [0, 0, 0, 0]);
assert!(culled > 0);
+ assert!(measured > 0, "the frame stats report no symbol art measures");
assert!(measured <= 20_000, "symbol art measured {measured} times");
}