Update tests

This commit is contained in:
Bruce Hill 2024-02-24 15:27:27 -05:00
parent 106704b956
commit 911b39dad1

View File

@ -1,5 +1,20 @@
enum Foo(Zero, One(x:Int), Two(x,y:Int))
>> Foo__Zero()
= Foo.Zero()
>> Foo__One(123)
= Foo.One(x=123)
>> Foo__Two(123, 456)
= Foo.Two(x=123, y=456)
>> Foo__One(10) == Foo__One(10)
= yes
>> Foo__One(10) == Foo__Zero()
= no
>> Foo__One(10) == Foo__One(-1)
= no
>> Foo__One(10) < Foo__Two(1, 2)
= yes