[][src]Macro tox_binary_io::encode_decode_test

macro_rules! encode_decode_test {
    ($init:expr, $test:ident, $value:expr) => { ... };
}

Create test that encodes/decodes specified value and checks that result equals original value. Type of this value should implement ToBytes, FromBytes, Clone, Eq traits.