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