1pub fn hello_world() -> u64 { 2 println!("Hello world"); 3 1 4} 5 6#[cfg(test)] 7mod tests { 8 use super::*; 9 10 #[test] 11 fn it_works() { 12 let result = hello_world(); 13 assert_eq!(result, 1); 14 } 15}