#[test] fn is_simplified() { assert!( cjk::is_simplified_chinese("中") ); assert!( !cjk::is_simplified_chinese("學") ); assert!( !cjk::is_simplified_chinese("a") ); } #[test] fn is_traditional() { assert!( cjk::is_traditional_chinese("中") ); assert!( !cjk::is_traditional_chinese("學") ); assert!( !cjk::is_traditional_chinese("a") ); }