forked from M-Labs/artiq
1
0
Fork 0

test/lit: Move some list tests to appropriate module [nfc]

This commit is contained in:
David Nadlinger 2020-07-25 18:05:59 +01:00
parent 1df62862cd
commit 6ea836183d
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,3 @@
ary = array([1, 2, 3])
assert [x*x for x in ary] == [1, 4, 9]
assert [1] + [2] == [1, 2]
assert [1] * 3 == [1, 1, 1]

View File

@ -14,3 +14,6 @@ assert [[0]] == [[0]]
assert [[0]] != [[1]]
assert [[[0]]] == [[[0]]]
assert [[[0]]] != [[[1]]]
assert [1] + [2] == [1, 2]
assert [1] * 3 == [1, 1, 1]