macro_rules! for_each_convergence_rule {
($($callback:tt)+) => { ... };
}Expand description
Hands the complete convergence rule set to $callback.
This family’s single enumeration (CF-22), beside the rules it names. No mounting macro reads it, because the family has no adapter to mount it beside: a projection author calls the SY-20 and SY-21 rules over a fixture of their own, and the SY-22 rule takes nothing.
§Examples
macro_rules! rule_names {
($($name:ident),* $(,)?) => { [ $( stringify!($name) ),* ] };
}
let names = happenstance_sync_testkit::for_each_convergence_rule!(rule_names);
assert_eq!(
names,
[
"convergent_projection_is_interleaving_independent",
"convergent_projection_cannot_observe_local_position",
"non_convergent_projections_are_excluded_not_failed",
]
);