macro_rules! assert_pixels_eq_within {
($actual:expr, $expected:expr, $channel_tolerance:expr) => { ... };
}
Expand description
Panics if any pixels differ between the two images by more than the given tolerance in a single channel.
macro_rules! assert_pixels_eq_within {
($actual:expr, $expected:expr, $channel_tolerance:expr) => { ... };
}
Panics if any pixels differ between the two images by more than the given tolerance in a single channel.