bevy
bevy copied to clipboard
Add more examples and tests for run criteria
There's some tests here: https://github.com/bevyengine/bevy/blob/6615b7bf6439c9bcaf59982b2713e1c1564bf0f5/crates/bevy_ecs/src/schedule/stage.rs#L1432-L1562
#7652 adds an example for run conditions, and though it seems like the tests that @hymm are no longer there after stageless's merge. Perhaps we should add those tests back in.
I'm happy to add in some more tests, would theses go the conditions.rs
file?
https://github.com/bevyengine/bevy/blob/main/crates/bevy_ecs/src/schedule/condition.rs
Yes please, I would add a mod tests
there.