mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
a4e926daee
Also doing fmt inplace as requested.
7 lines
151 B
Rust
7 lines
151 B
Rust
use super::mul_div_u64;
|
|
|
|
#[test]
|
|
fn test_muldiv() {
|
|
assert_eq!(mul_div_u64(1_000_000_000_001, 1_000_000_000, 1_000_000), 1_000_000_000_001_000);
|
|
}
|