1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
mod generic; mod impl_core; pub use self::generic::*; pub use self::impl_core::*; #[test] fn test_arithmetic() { let a = ScalarVal(1.0); let b = ScalarVal(1.0); a + b; let mut d = a; d += a; a == b; }