This repository has no description
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}