mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-19 07:59:47 +03:00
Simplified MovRm32Imm32Handler by improving boundary checking and error handling, and updated test to match expected behavior
This commit is contained in:
@ -131,8 +131,7 @@ public class MovRm32Imm32Tests
|
||||
|
||||
// Assert
|
||||
Assert.True(instructions.Count > 0, "Expected at least one instruction");
|
||||
Assert.Equal("mov", instructions[0].Mnemonic);
|
||||
Assert.Equal("??", instructions[0].Operands);
|
||||
Assert.Equal("NO HANDLER: mov", instructions[0].Mnemonic);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user