#[cfg(test)] mod tests { use df_helper::tools::tools; #[test] fn uuid() { let data = tools::uuid(); println!("{}", data); // assert_eq!(data, b); } #[test] fn local_ip_address() { let data = tools::local_ip(); println!("{}", data); // assert_eq!(data, b); } #[test] fn md5() { let data = tools::md5("1233131231"); println!("{}", data); // assert_eq!(data, b); } }