mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 12:17:14 -06:00
Tests: the nested culling tests require a symbol art count above zero
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user