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

6 lines
142 B
Python

# RUN: %python -m artiq.compiler.testbench.jit %s
# REQUIRES: time
assert seconds_to_mu(2.0) == 2000000
assert mu_to_seconds(1500000) == 1.5