use edn_rs::{Edn, List};
fn to_vec() {
let expected = vec![":my-key", "6", "7/4"];
let v = Edn::List(List::new(vec![
Edn::Key(":my-key".to_string()),
Edn::Int(6),
Edn::Rational("7/4".to_string()),
]));
println!("{:?}", v.to_vec().unwrap());
assert_eq!(expected, v.to_vec().unwrap());
}
fn main() {
to_vec();
}
#[test]
fn test_to_vec() {
to_vec();
}