/* Simplest, hand-written examples */ use yeti::fuzzable::fuzz; fn panic_on_true(b: bool) { if b { panic!("Crash"); } } #[test] fn fuzz_panic_on_true() { fuzz(&panic_on_true); } fn panic_on_false(b: bool) { if !b { panic!("Crash"); } } #[test] fn fuzz_panic_on_false() { fuzz(&panic_on_false); }