macro_rules! dataset {
($base:ident, [ $($case:ident => $args:tt),* $(,)? ], | $pat:tt : $ty:tt | $body:block) => { ... };
}Expand description
Generate one #[test] per row. Each row is case_name => (arg1, arg2, ...).
The closure parameter is a single tuple pattern + tuple type:
|(n, sq): (i32, i32)|. For one-arg cases use |(n,): (i32,)|.