(t *testing.T)
| 95 | } |
| 96 | |
| 97 | func TestFlagsRegisterIsEqualsFlagEnabled(t *testing.T) { |
| 98 | ClearMem() |
| 99 | c := SetUpCPU() |
| 100 | |
| 101 | setMemoryLocation(c, 0x0000, 0x0081) |
| 102 | setRegisters(c, [4]uint16{0x0021, 0x0021, 0x0002, 0x0003}) |
| 103 | c.SetIAR(0x0000) |
| 104 | |
| 105 | doFetchDecodeExecute(c) |
| 106 | |
| 107 | checkFlagsRegister(c, false, false, true, false, t) |
| 108 | } |
| 109 | |
| 110 | func TestFlagsRegisterIsZeroFlagEnabled(t *testing.T) { |
| 111 | ClearMem() |
nothing calls this directly
no test coverage detected