Skip to main content

assert_benford_passes

Macro assert_benford_passes 

Source
macro_rules! assert_benford_passes {
    ($amounts:expr, $threshold:expr) => { ... };
    ($amounts:expr) => { ... };
}
Expand description

Assert that amounts pass Benford’s Law chi-squared test. Uses the chi-squared statistic with configurable threshold.