Skip to main content

assertion_sometimes_all

Function assertion_sometimes_all 

Source
pub fn assertion_sometimes_all(msg: &str, named_bools: &[(&str, bool)])
Expand description

Compound boolean assertion backing function (sometimes-all).

Counts how many of the named booleans are simultaneously true. Maintains a frontier (max count seen). Forks when the frontier advances.

This is a no-op if the assertion table is not initialized.