]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys_common/tests.rs
Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup
[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 }