forked from M-Labs/artiq
1
0
Fork 0

test: tighten test_pulse_rate

This commit is contained in:
Sebastien Bourdeauducq 2018-11-08 20:17:55 +08:00
parent 0bee43aa58
commit a0cc7311ad
1 changed files with 1 additions and 1 deletions

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"""