This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / knot2 / crates / knot-lfs / tests / fuzz_smoke.rs
573 B 20 lines
1use proptest::prelude::*; 2 3proptest! { 4 #![proptest_config(ProptestConfig::with_cases(1024))] 5 6 #[test] 7 fn the_transfer_engine_never_panics(data in proptest::collection::vec(any::<u8>(), 0..4096)) { 8 knot_lfs::fuzz::transfer(&data); 9 } 10 11 #[test] 12 fn the_batch_json_parser_never_panics(data in proptest::collection::vec(any::<u8>(), 0..4096)) { 13 knot_lfs::fuzz::batch(&data); 14 } 15 16 #[test] 17 fn the_pointer_parser_never_panics(data in proptest::collection::vec(any::<u8>(), 0..4096)) { 18 knot_lfs::fuzz::pointer(&data); 19 } 20}