From 240f0e553fa3ad50e2c7e259fcbe4f99d6693557 Mon Sep 17 00:00:00 2001 From: zxq5 Date: Sat, 14 Feb 2026 11:50:54 +0000 Subject: [PATCH] fixed failing tests TODO: add comprehensive testing to everything --- emulator/src/emulator/system/processor/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emulator/src/emulator/system/processor/tests.rs b/emulator/src/emulator/system/processor/tests.rs index c9ca424..37c9d0f 100644 --- a/emulator/src/emulator/system/processor/tests.rs +++ b/emulator/src/emulator/system/processor/tests.rs @@ -464,7 +464,7 @@ fn test_shift_left_with_shamt() { let shl_instr = Instruction::ShiftLeft(RTypeArgs::new( Some(Register::Rg1), Some(Register::Zero), - None, + Some(Register::Rg1), Some(2), )); @@ -485,7 +485,7 @@ fn test_shift_right_with_shamt() { let shr_instr = Instruction::ShiftRight(RTypeArgs::new( Some(Register::Rg1), Some(Register::Zero), - None, + Some(Register::Rg1), Some(2), ));