1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/equality operator.ans

29 lines
304 B
Text

::a = [1:2]
|false = {a == [5:2]}
|false = {a == [1:3]}
|true = {a == [1:2]}
::b = [1,2,3]
|false = {b == a}
|false = {b == []}
|false = {b == [3,1,2]}
|false = {b == [1,2,3,4]}
|true = {b == [1,2,3]}
:c = *[1,2,3]
|false = {c == b}
|true = {c!to tuple == b}
::d = [1,2,3]
|true = {d == b}