person_struct_parser 1.3.1

Rust parser for person struct
Documentation
use person_struct_parser::person_module::*;

#[cfg(test)]
mod simple_tests {
    use super::*;

    #[test]
    #[should_panic]
    fn unequal() {
        let _person: Person = parse("DavydLviv").unwrap();
    }
    #[test]
    #[should_panic]
    fn incorrect() {
        let _person: Person = parse("25").unwrap();
    }
    #[test]
    #[should_panic]
    fn parsing_inc() {
        let _person: Person = parse("Davyd 20 Win+/sto++/n-S ?,?(al*)*e*m75869").unwrap();
    }
}