2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 03:38:25 +08:00

test: tighten test_pulse_rate

This commit is contained in:
Sebastien Bourdeauducq 2018-11-08 20:17:55 +08:00
parent 0bee43aa58
commit a0cc7311ad

View File

@ -414,7 +414,7 @@ class CoredeviceTest(ExperimentCase):
rate = self.dataset_mgr.get("pulse_rate") rate = self.dataset_mgr.get("pulse_rate")
print(rate) print(rate)
self.assertGreater(rate, 100*ns) self.assertGreater(rate, 100*ns)
self.assertLess(rate, 700*ns) self.assertLess(rate, 480*ns)
def test_pulse_rate_ad9914_dds(self): def test_pulse_rate_ad9914_dds(self):
"""Minimum interval for sustained AD9914 DDS frequency switching""" """Minimum interval for sustained AD9914 DDS frequency switching"""