(t *testing.T)
| 108 | } |
| 109 | |
| 110 | func TestFlagsRegisterIsZeroFlagEnabled(t *testing.T) { |
| 111 | ClearMem() |
| 112 | c := SetUpCPU() |
| 113 | |
| 114 | setMemoryLocation(c, 0x0000, 0x0081) |
| 115 | setRegisters(c, [4]uint16{0x0001, 0xFFFF, 0x0002, 0x0003}) |
| 116 | c.SetIAR(0x0000) |
| 117 | |
| 118 | doFetchDecodeExecute(c) |
| 119 | |
| 120 | checkFlagsRegister(c, true, false, false, true, t) |
| 121 | } |
| 122 | |
| 123 | func TestFlagsRegisterMultipleEnabled(t *testing.T) { |
| 124 | ClearMem() |
nothing calls this directly
no test coverage detected