macro_rules! for_each_sync_model_rule {
($($callback:tt)+) => { ... };
}Available on crate feature
proptest only.Expand description
Hands the complete model rule set to $callback.
This family’s single enumeration (CF-22), beside the rules it names.
§Examples
Compiled only with the proptest feature, because the module defining the
macro is.
macro_rules! rule_names {
($($name:ident),* $(,)?) => { [ $( stringify!($name) ),* ] };
}
let names = happenstance_sync_testkit::for_each_sync_model_rule!(rule_names);
assert!(names.contains(&"forwarding_order_is_arrival_order"));