mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
test maxI128
This commit is contained in:
parent
c1d0af5b39
commit
a8cd87b974
1 changed files with 5 additions and 0 deletions
|
@ -1364,4 +1364,9 @@ mod gen_num {
|
||||||
assert_evals_to!("Num.shiftRightBy 2 0b0000_0010u8", 0b0000_0001, i64);
|
assert_evals_to!("Num.shiftRightBy 2 0b0000_0010u8", 0b0000_0001, i64);
|
||||||
assert_evals_to!("Num.shiftRightBy 3 0b0000_1100u8", 0b0000_0011, i64);
|
assert_evals_to!("Num.shiftRightBy 3 0b0000_1100u8", 0b0000_0011, i64);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn max_i128() {
|
||||||
|
assert_evals_to!("Num.maxI128", i128::MAX, i128);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue