Fixed enum test case to match ToString

This commit is contained in:
Sasha Koshka 2022-09-27 18:23:23 -04:00
parent 3a4ccdda10
commit 93bc742339
1 changed files with 7 additions and 41 deletions

View File

@ -7,52 +7,18 @@ func TestEnum (test *testing.T) {
`:arf
---
enum ro AffrontToGod:Int:4
- bird0
)
28394
9328
398
9
)
- bird1
(
23
932832
398
2349
)
- bird2
(
1
2
3
4
)
- bird0 (28394 9328 398 9)
- bird1 (23 932832 398 2349)
- bird2 (1 2 3 4)
enum ro NamedColor:U32
- red 16711680
- green 65280
- blue 255
enum ro ThisIsTerrible:Vector
- up
(
0
-1
)
- down
(
0
1
)
- left
(
-1
0
)
- right
(
1
0
)
- up (0 -1)
- down (0 1)
- left (-1 0)
- right (1 0)
enum ro Weekday:Int
- sunday
- monday