1pub mod a{ 2 pub fn one() { 3 println!("runnig from one"); 4 } 5} 6 7 8#[cfg(test)] 9mod tests { 10 #[test] 11 fn it_works() { 12 assert_eq!(2 + 2, 4); 13 } 14}