fn compare_to_truth<P, F>(input_file_name: &str, truth_file_name: &str, op: F)
where
    P: Pixel<Subpixel = u8> + 'static,
    ImageBuffer<P, Vec<u8>>: FromDynamic,
    F: Fn(&ImageBuffer<P, Vec<u8>>) -> ImageBuffer<P, Vec<u8>>,
{
    compare_to_truth_with_tolerance(input_file_name, truth_file_name, op, 0u8);
}
/// Loads an input image, applies a function to it and checks that the result matches a 'truth' image.
Loads an input image, applies a function to it and checks that the result matches a 'truth' image.
Loads an input image applies a function to it and checks that the result matches a ' truth ' image .
fn compare_to_truth<P, F>(input_file_name: &str, truth_file_name: &str, op: F)
where
    P: Pixel<Subpixel = u8> + 'static,
    ImageBuffer<P, Vec<u8>>: FromDynamic,
    F: Fn(&ImageBuffer<P, Vec<u8>>) -> ImageBuffer<P, Vec<u8>>,
{
    compare_to_truth_with_tolerance(input_file_name, truth_file_name, op, 0u8);
}
fn compare_to_truth < P , F > ( input_file_name : & str , truth_file_name : & str , op : F ) where P : Pixel < Subpixel = u8 > + ' static , ImageBuffer < P , Vec < u8 > > : FromDynamic , F : Fn ( & ImageBuffer < P , Vec < u8 > > ) -> ImageBuffer < P , Vec < u8 > > , { compare_to_truth_with_tolerance ( input_file_name , truth_file_name , op , 0u8 ) ; }
Loads an input image, applies a function to it and checks that the result matches a 'truth' image.
Loads an input image applies a function to it and checks that the result matches a ' truth ' image .
input_file_name
&str
truth_file_name
&str
op
F
input_file_name
&str
truth_file_name
&str
op
F