1 2 3 4 5 6 7 8
pub fn triple(a: i32) -> i32 { a * 3 } #[test] fn test_triple() { assert_eq!(triple(3), 9); }