macro_rules! for_all_scalars {
($fn:ident) => { ... };
}Expand description
Invoke a generic test function once for each concrete scalar
implementation. Inside a #[test] function, write:
ⓘ
fn my_check<S: Scalar + ScalarTestHelper>() { /* … */ }
#[test] fn my_test() { for_all_scalars!(my_check); }