๐Ÿ“ฆ chikaku / nad

๐Ÿ“„ readcode.rs ยท 22 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22mod util;

mod read_code {
    use super::util::iter_luac;
    use nad::Reader;

    #[test]
    fn check_header() {
        iter_luac(|path| {
            Reader::from_file(path).check_header();
        })
    }

    #[test]
    fn read_proto() {
        iter_luac(|path| {
            println!("{:?}", path);
            let _ = Reader::from_file(path).prototype();
        });
    }
}