1 #[cfg(test)] 2 mod tests { 3 #[test] it_works()4 fn it_works() { 5 let result = 2 + 2; 6 assert_eq!(result, 4); 7 } 8 } 9