pub fn assert_eq_slices(buf_to_test: &[u8], expected_buf: &[u8])Expand description
Asserts that two octet slices are equal. If not, panics and displays a formatted hex dump comparison.
§Parameters
buf_to_test: The first octet slice to compare.expected_buf: The second octet slice to compare.
§Panics
Panics with a detailed hex dump comparison if buf_to_test and expected_buf are not equal.