Crate assert_infrequent

Source

Functionsยง

at_most
Asserts that the given function is called at most n times from any given point.