]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys_common/tests.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[rust.git] / library / std / src / sys_common / tests.rs
1 use super::mul_div_u64;
2
3 #[test]
4 fn test_muldiv() {
5     assert_eq!(mul_div_u64(1_000_000_000_001, 1_000_000_000, 1_000_000), 1_000_000_000_001_000);
6 }