fn add(a: i32, b: i32) -> i32 { a + b } #[test] fn test_01() { assert_eq!(2, add(1, 1)); assert_eq!(3, add(1, 2)); } fn main() {}