(t *testing.T)
| 103 | } |
| 104 | |
| 105 | func TestParseST(t *testing.T) { |
| 106 | input := ` |
| 107 | ST R0, R1 |
| 108 | ST R1,R0 |
| 109 | ST R2, R3 |
| 110 | ` |
| 111 | |
| 112 | expected := []Instruction{STORE{REG0, REG1}, STORE{REG1, REG0}, STORE{REG2, REG3}} |
| 113 | |
| 114 | testParseInstructions(input, expected, t) |
| 115 | } |
| 116 | |
| 117 | func TestParseXOR(t *testing.T) { |
| 118 | input := ` |
nothing calls this directly
no test coverage detected