mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Enable Num.shiftRight* tests
This commit is contained in:
parent
7d95d2b576
commit
9fb3549c24
1 changed files with 0 additions and 2 deletions
|
@ -1843,7 +1843,6 @@ fn shift_left_by() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||||
#[ignore]
|
|
||||||
fn shift_right_by() {
|
fn shift_right_by() {
|
||||||
// Sign Extended Right Shift
|
// Sign Extended Right Shift
|
||||||
assert_evals_to!("Num.shiftRightBy 0 0b0100_0000i8", 0b0001_0000, i8);
|
assert_evals_to!("Num.shiftRightBy 0 0b0100_0000i8", 0b0001_0000, i8);
|
||||||
|
@ -1853,7 +1852,6 @@ fn shift_right_by() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||||
#[ignore]
|
|
||||||
fn shift_right_zf_by() {
|
fn shift_right_zf_by() {
|
||||||
// Logical Right Shift
|
// Logical Right Shift
|
||||||
assert_evals_to!("Num.shiftRightBy 1 0b1100_0000u8", 0b0011_0000, i64);
|
assert_evals_to!("Num.shiftRightBy 1 0b1100_0000u8", 0b0011_0000, i64);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue