1 2 3 4 5 6 7 8
pub fn default_fn() -> i32 { 42 } #[test] fn test_default_fn() { assert_eq!(default_fn(), 42); }