macro_rules! common_tests {
($name:ident, $call:expr) => { ... };
}Expand description
Generate the three most-common tests (empty-input, mask propagation,
bulk-vs-scalar) for a fn kernel(&[f64]) -> FloatArray<f64>.
Usage:
ⓘ
common_tests!(normal_pdf, |x| normal_pdf(x, 0.0, 1.0, None, None).unwrap());