2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-05 09:46:36 +08:00
artiq/lit-test/test/time/advance.py

10 lines
174 B
Python
Raw Normal View History

# 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