mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-30 05:33:33 +08:00
10 lines
174 B
Python
10 lines
174 B
Python
# RUN: %python -m artiq.compiler.testbench.jit %s
|
|
|
|
assert now() == 0.0
|
|
delay(100.0)
|
|
assert now() == 100.0
|
|
at(12345.0)
|
|
assert now() == 12345.0
|
|
|
|
assert now_mu() == 12345000000
|