1 2 3 4 5 6 7 8
pub fn add_two(n: i64) -> i64 { return n + 2; } #[test] fn smoketest() { assert_eq!(add_two(2), 4); }