mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
test/lit: Move some list tests to appropriate module [nfc]
This commit is contained in:
parent
1df62862cd
commit
6ea836183d
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user