0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 08:18:36 +03:00

Test fixes

This commit is contained in:
bird_egop
2025-04-16 18:30:17 +03:00
parent d4eb920e2f
commit 6719cff2af
38 changed files with 469 additions and 170 deletions

View File

@ -74,9 +74,9 @@ public class OrRm8R8HandlerTests
// Check the first operand (BL)
var blOperand = instruction.StructuredOperands[0];
Assert.IsType<RegisterOperand>(blOperand);
var registerOperand1 = (RegisterOperand)blOperand;
Assert.Equal(RegisterIndex.B, registerOperand1.Register);
Assert.IsType<Register8Operand>(blOperand);
var registerOperand1 = (Register8Operand)blOperand;
Assert.Equal(RegisterIndex8.BL, registerOperand1.Register);
Assert.Equal(8, registerOperand1.Size); // Validate that it's an 8-bit register (BL)
// Check the second operand (CH)