use arbitrary::Arbitrary;
use arbitrary::Unstructured;
use beancount_types::Open;

#[test]
fn arbitrary_open() {
    let mut u = Unstructured::new(b"someverylongandmildlyrandominput");

    insta::assert_debug_snapshot!(Open::arbitrary(&mut u));
}