2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 00:16:29 +08:00
artiq/lit-test/test/time/advance.py

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