(self)
| 20 | self.i = LSystemInterpeter("default", 1.0, 90) |
| 21 | |
| 22 | def test_forward(self): |
| 23 | commands = io.StringIO("FG") |
| 24 | expected = [LineString([(0, 0, 0), (0, 0, 2)])] |
| 25 | tokens = self.i.tokenize(commands) |
| 26 | lines = list(self.i.interpret(tokens)) |
| 27 | self.assertListEqual(lines, expected) |
| 28 | |
| 29 | def test_forward_no_draw(self): |
| 30 | commands = io.StringIO("fGF") |
nothing calls this directly
no test coverage detected