/* Appellation: default Contrib: FL03 */ #![cfg(test)] fn addition(a: A, b: B) -> C where A: std::ops::Add, { a + b } #[test] fn compiles() { assert_eq!(addition(1, 2), 3); assert_ne!(addition(1_f64, 0_f64), 3_f64); }