assert_write!(bytes_array, write_uuid,
[0x1d, 0x66, 0x27, 0x62, 0x20, 0x10, 0x11, 0xe9, 0xad, 0x8b, 0xc8, 0x69, 0xcd, 0xb5, 0xcd, 0x46],
vec![0x00, 0x00, 0x00, 0x10, 0x1d, 0x66, 0x27, 0x62, 0x20, 0x10, 0x11, 0xe9, 0xad, 0x8b, 0xc8, 0x69, 0xcd, 0xb5, 0xcd, 0x46]
);
#[cfg(test)]
#[cfg(feature = "with-uuid")]
mod with_uuid {
use std::str::FromStr;
use uuid::Uuid;
assert_write!(uuid, write_uuid,
Uuid::from_str("1d662762-2010-11e9-ad8b-c869cdb5cd46").unwrap(),
vec![0x00, 0x00, 0x00, 0x10, 0x1d, 0x66, 0x27, 0x62, 0x20, 0x10, 0x11, 0xe9, 0xad, 0x8b, 0xc8, 0x69, 0xcd, 0xb5, 0xcd, 0x46]
);
}