]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys_common/tests.rs
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-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 }