mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Second test batch and associated fixes
This commit is contained in:
parent
7abb116876
commit
9b7d1e436e
56 changed files with 760 additions and 27 deletions
29
test/tests/equality operator.ans
Normal file
29
test/tests/equality operator.ans
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
::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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue