Skip to content
Snippets Groups Projects
Commit cb278678 authored by Gabriel Fedel's avatar Gabriel Fedel :speech_balloon:
Browse files

tests: Fix downsampled to right interval [-1000,1000]

parent 06d8f41d
No related branches found
Tags v3.15.1
No related merge requests found
...@@ -125,7 +125,7 @@ class TestDownSampledChannels: ...@@ -125,7 +125,7 @@ class TestDownSampledChannels:
vals_qang = caget(prefix + (":DWN%d-CMP1") % ch) vals_qang = caget(prefix + (":DWN%d-CMP1") % ch)
vals_qang_avg = np.average(vals_qang) vals_qang_avg = np.average(vals_qang)
assert vals_qang_avg != 0 assert vals_qang_avg != 0
assert vals_qang_avg < 100 and vals_qang_avg > -100 assert vals_qang_avg < 1000 and vals_qang_avg > -1000
""" """
Check if all the channels have different values between each other Check if all the channels have different values between each other
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment