(t *testing.T)
| 23 | } |
| 24 | |
| 25 | func TestIARIncrementedOnEveryCycle(t *testing.T) { |
| 26 | ClearMem() |
| 27 | c := SetUpCPU() |
| 28 | |
| 29 | c.SetIAR(0x0000) |
| 30 | |
| 31 | var q uint16 |
| 32 | for q = 0; q < 1000; q++ { |
| 33 | doFetchDecodeExecute(c) |
| 34 | checkIAR(c, q+1, t) |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | func TestInstructionReceivedFromMemory(t *testing.T) { |
| 39 | ClearMem() |
nothing calls this directly
no test coverage detected