The #[cfg(test)] annotation on the tests module tells Rust to compile and run ... #[cfg(test)] mod tests { use super::*; #[test] fn internal() { assert_eq!
確定! 回上一頁