2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-21 09:26:29 +08:00
artiq/lit-test/test/time/advance_mu.py

8 lines
147 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.jit %s
assert now_mu() == 0
delay_mu(100)
assert now_mu() == 100
at_mu(12345)
assert now_mu() == 12345