Skip to main content

make_default

Function make_default 

Source
pub fn make_default(name: &str) -> Option<Box<dyn CITest>>
Expand description

Construct a default-configured boxed test by its TestMeta::name.

Returns None if name does not match any built-in test. Default configuration: chi_squared/log_likelihood/cressie_read/ freeman_tukey/modified_likelihood have Yates enabled, and pearson_equivalence uses delta_threshold = 0.1.