pub fn test_generic_serialization_regression_canonical<T: CanonicalSerialize + CanonicalDeserialize + PartialEq + Debug>(
    data_expected: T,
    buf_expected: Vec<u8>
)
Expand description

A generic regression serialization test for serialization via CanonicalSerialize and CanonicalDeserialize.