assert_eq panics when operands differ, which is problematic in an embedded setup. This is a variant of assert_eq which returns an error on a failed equality assertion.
assert_eq