1 2 3 4 5 6 7 8 9 10 11 12 13 14
pub fn who_are_you() -> String { "HAPI".to_string() } #[cfg(test)] mod tests { use super::*; #[test] fn it_works() { let result = who_are_you(); assert_eq!(result, "HAPI".to_string()); } }