usearbitrary::Arbitrary;usearbitrary::Unstructured;usebeancount_types::CostBasis;usebeancount_types::CostSpec;#[test]fnarbitrary_cost_basis(){letmut u =Unstructured::new(b"someverylongandmildlyrandominput");insta::assert_debug_snapshot!(CostBasis::arbitrary(&mut u));}#[test]fnarbitrary_cost_spec(){letmut u =Unstructured::new(b"someverylongandmildlyrandominput");insta::assert_debug_snapshot!(CostSpec::arbitrary(&mut u));}