Enum now passes its test

This commit is contained in:
Sasha Koshka 2022-09-17 02:11:12 -04:00
parent b76cb30d94
commit 8b8754a12d

View File

@ -8,21 +8,30 @@ func TestEnum (test *testing.T) {
--- ---
enum ro AffrontToGod:Int:4 enum ro AffrontToGod:Int:4
- bird0: - bird0:
<28394 9328 <
398 9> 28394
- bird1: 9328
<23 932832
398 398
2349> 9
>
- bird1:
<
23
932832
398
2349
>
- bird2: - bird2:
<1 <
1
2 2
3 3
4> 4
>
enum ro NamedColor:U32 enum ro NamedColor:U32
- red:<0xFF0000> - red:<16711680>
- green:<0x00FF00> - green:<65280>
- blue:<0x0000FF> - blue:<255>
enum ro ThisIsTerrible:Obj: enum ro ThisIsTerrible:Obj:
( (
.rw x:Int .rw x:Int
@ -36,7 +45,8 @@ enum ro ThisIsTerrible:Obj:
- down: - down:
( (
.x:<0> .x:<0>
.y:<1>) .y:<1>
)
- left: - left:
( (
.x:<-1> .x:<-1>