Skip to main content

differential_test

Function differential_test 

Source
pub fn differential_test<A, B, T>(
    inputs: &[(String, Vec<u8>)],
    impl_a: A,
    impl_b: B,
) -> Vec<DiffResult<T>>
where A: Fn(&[u8]) -> T, B: Fn(&[u8]) -> T, T: Clone + PartialEq,
Expand description

Run a differential comparison between two functions over a set of byte-vector inputs.