Update tests
This commit is contained in:
parent
106704b956
commit
911b39dad1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user