1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! This crate is a collection of parsers and data types
//! To enable reading of data from LEGO Universe game files.

#[macro_use]
extern crate num_derive;
#[macro_use]
extern crate nom;
extern crate encoding;

pub mod core;
pub mod fdb;
pub mod luz;
pub mod lvl;
pub mod pki;

#[cfg(test)]
mod tests {
    use crate::fdb::core::Schema;

    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }

    #[test]
    fn test_schema() {
        let schema = Schema::new();
        assert_eq!(schema.table("Test").is_none(), true);
    }
}