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/conversion.py

5 lines
125 B
Python
Raw Normal View History

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