Skip to main content

assert_no_changes

Function assert_no_changes 

Source
pub fn assert_no_changes<T, F>(get_value: impl Fn() -> T, f: F)
where T: PartialEq + Debug, F: FnOnce(),
Expand description

Asserts that a computed value did not change during closure execution.