ass_parser 0.2.3

A parser for editing creating and saving .ass files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use ass_parser::AssFile;


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

    #[test]
    fn test_utf8_bom() {
        assert_eq!(AssFile::from_file("./examples/gbc_e1.ass").is_ok(), true);
    }

    #[test]
    fn test_fail_utf8_bom() {
        assert_eq!(AssFile::from_file("./examples/empty.ass").is_ok(), false);
    }

}