add test_produce_blob_from_fit_vec_panic

This commit is contained in:
Rostyslav Tyshko 2025-04-03 18:36:06 -04:00
parent 4193094232
commit 5b2098c9f7

View File

@ -132,5 +132,12 @@ mod tests {
assert_eq!(blob[..4], [0, 1, 2, 3]);
}
#[test]
#[should_panic]
fn test_produce_blob_from_fit_vec_panic() {
let data = vec![0; SC_DATA_BLOB_SIZE + 1];
let _ = produce_blob_from_fit_vec(data);
}
}