2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-04 17:31:10 +08:00
artiq/lit-test/test/time/advance_mu.py

8 lines
147 B
Python

# 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