pub fn transform<M: Transform + Default>(input: &[u8], expected: &[u8]) {
        let mut model: M = Default::default();
        let result = model.transform(&input).unwrap();
        assert_eq!(result, expected)
    }
/// Helper function for testing one-way transformation
Helper function for testing one-way transformation
Helper function for testing one - way transformation
pub fn transform<M: Transform + Default>(input: &[u8], expected: &[u8]) {
        let mut model: M = Default::default();
        let result = model.transform(&input).unwrap();
        assert_eq!(result, expected)
    }
pub fn transform < M : Transform + Default > ( input : & [ u8 ] , expected : & [ u8 ] ) { let mut model : M = Default :: default ( ) ; let result = model . transform ( & input ) . unwrap ( ) ; assert_eq ! ( result expected ) }
Helper function for testing one-way transformation
Helper function for testing one - way transformation
input
&[u8]
expected
&[u8]
input
&[u8]
expected
&[u8]