pub fn assert_difference<F>( get_value: impl Fn() -> i64, expected_diff: i64, f: F, )where F: FnOnce(),
Asserts that a numeric value changed by the expected amount during closure execution.