| 1 | // vtest build: !musl? // gx now transitively imports sokol, and that needs GL/gl.h, which is not installed on the musl CIs |
| 2 | import gg |
| 3 | |
| 4 | const left = gg.HorizontalAlign.left |
| 5 | |
| 6 | fn test_main() { |
| 7 | align := left |
| 8 | assert dump(align.str()) == 'left' |
| 9 | assert dump(gg.HorizontalAlign.left) == gg.HorizontalAlign.left |
| 10 | assert gg.HorizontalAlign.left.str() == 'left' |
| 11 | } |
| 12 |