use arbitrary::Arbitrary; use arbitrary::Unstructured; use beancount_types::Close; #[test] fn arbitrary_close() { let mut u = Unstructured::new(b"someverylongandmildlyrandominput"); insta::assert_debug_snapshot!(Close::arbitrary(&mut u)); }