1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#[test] fn test_edge_attr() { assert!(dot_parser::ast::Graphs::try_from( r#"digraph{ edge [overall_factor=1] A } "# ) .is_ok()) } #[test] fn test_id_eq() { assert!(dot_parser::ast::Graphs::try_from( r#"digraph{ overall_factor=1 A } "# ) .is_ok()) }