2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-22 18:04:03 +08:00
artiq/lit-test/test/time/conversion.py

5 lines
125 B
Python

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