tvl-depot/users/fogti/store-ref-scanner/fuzz/fuzz_targets/hbm-roundtrip.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
254 B
Rust
Raw Normal View History

#![no_main]
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: [u8; 16]| {
use store_ref_scanner::HalfBytesMask;
let a = HalfBytesMask(data);
let b = a.into_expanded();
let c = HalfBytesMask::from_expanded(b);
assert_eq!(a, c);
});