jlabel 0.1.9

HTS-style full-context label structure and parser/serializer from/to string
Documentation
1
2
3
4
5
6
7
8
9
10
11
mod fixtures;
use fixtures::fixtures;
use jlabel::Label;

#[test]
fn test_parse() {
    for (input, expected) in fixtures() {
        let actual: Label = input.parse().unwrap();
        assert_eq!(actual, expected);
    }
}