Just trying to trigger release #1
@ -143,7 +143,7 @@ func TestSkipIfRegistersEqual(t *testing.T) {
|
||||
func TestSetRegisterTo(t *testing.T) {
|
||||
cpu := Chip8{opcode: 0x0824}
|
||||
cpu.setRegisterTo()
|
||||
if cpu.registers[8] != 24 {
|
||||
t.Errorf("Register 8 is %d wanted %d", cpu.registers[8], 24)
|
||||
if cpu.registers[8] != 0x24 {
|
||||
t.Errorf("Register 8 is %d wanted %d", cpu.registers[8], 0x24)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user