]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys_common/tests.rs
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
[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 }