mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-27 12:18:26 +08:00
862ac1f90d
Other directories in lit-test will host various parts of the test harness.
33 lines
471 B
Python
33 lines
471 B
Python
# RUN: %python -m artiq.compiler.testbench.jit %s >%t
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
# CHECK-L: None
|
|
print(None)
|
|
|
|
# CHECK-L: True False
|
|
print(True, False)
|
|
|
|
# CHECK-L: 1 -1
|
|
print(1, -1)
|
|
|
|
# CHECK-L: 10000000000
|
|
print(10000000000)
|
|
|
|
# CHECK-L: 1.5
|
|
print(1.5)
|
|
|
|
# CHECK-L: (True, 1)
|
|
print((True, 1))
|
|
|
|
# CHECK-L: (True,)
|
|
print((True,))
|
|
|
|
# CHECK-L: [1, 2, 3]
|
|
print([1, 2, 3])
|
|
|
|
# CHECK-L: [[1, 2], [3]]
|
|
print([[1, 2], [3]])
|
|
|
|
# CHECK-L: range(0, 10, 1)
|
|
print(range(10))
|