mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
Minor refactoring
This commit is contained in:
parent
941dca8ed2
commit
dc37b553ac
@ -23,6 +23,8 @@ fn test_arith_operation() {
|
||||
assert_eq!(i32_b & i32_b << 1, 0);
|
||||
assert_eq!(i32_b | i32_b << 1, 0x30303030);
|
||||
let i32_c: isize = 0x10101010;
|
||||
assert_eq!(i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
|
||||
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
|
||||
assert_eq!(
|
||||
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
|
||||
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user