(self)
| 5816 | w.invoke(lambda x, y: 1) |
| 5817 | |
| 5818 | def test_tessellate(self): |
| 5819 | |
| 5820 | # happy flow |
| 5821 | verts, tris = Face.makePlane(1, 1).tessellate(1e-3) |
| 5822 | |
| 5823 | assert len(verts) == 4 |
| 5824 | assert len(tris) == 2 |
| 5825 | |
| 5826 | # this should not crash, but return no verts |
| 5827 | verts, _ = Face.makePlane(1e-9, 1e-9).tessellate(1e-3) |
| 5828 | |
| 5829 | assert len(verts) == 0 |
| 5830 | |
| 5831 | def test_export(self): |
| 5832 |
nothing calls this directly
no test coverage detected