1
0
forked from M-Labs/artiq
artiq/artiq/test/lit/time/advance.py
2016-02-22 13:51:08 +00:00

11 lines
191 B
Python

# RUN: %python -m artiq.compiler.testbench.jit %s
# REQUIRES: time
assert now() == 0.0
delay(100.0)
assert now() == 100.0
at(12345.0)
assert now() == 12345.0
assert now_mu() == 12345000000