1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* Appellation: interface <module> Creator: FL03 <jo3mccain@icloud.com> Description: ... Summary ... */ #[cfg(test)] mod tests { #[test] fn test() { let f = |x: usize, y: usize| x + y; assert_eq!(f(4, 2), 6) } }