]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys_common/tests.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[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 }