1pub fn hello() { 2 println!("hello a") 3} 4 5#[cfg(test)] 6mod tests { 7 use super::*; 8 9 #[test] 10 fn test_hello() { 11 hello(); 12 } 13}