Module assert_count_le

Source
Expand description

Assert a count is less than or equal to another.

Pseudocode:
a.count() ≤ b.count()

§Example

use assertables::*;

let a = "x".chars();
let b = "xx".chars();
assert_count_le!(a, b);

§Module macros