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