(self)
| 41 | assert emitter.reg(self.n) == "cpy_r_n" |
| 42 | |
| 43 | def test_object_annotation(self) -> None: |
| 44 | assert self.emitter.object_annotation("hello, world", "line;") == " /* 'hello, world' */" |
| 45 | assert self.emitter.object_annotation(list(range(30)), "line;") == """\ |
| 46 | /* [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, |
| 47 | 23, 24, 25, 26, 27, 28, 29] */""" |
| 48 | |
| 49 | def test_emit_line(self) -> None: |
| 50 | emitter = self.emitter |
nothing calls this directly
no test coverage detected