Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
petebachant committed Jun 1, 2024
1 parent d8fa9b6 commit b65570f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbinedaq/tests/test_daqtasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ def test_aftacsdaqthread(acs_hcomm):
thread.start()
time.sleep(2)
thread.stop()
assert np.all(np.diff(thread.data["time"] == 0.001))
assert np.all(np.round(np.diff(thread.data["time"]), decimals=6) == 0.001)


def test_acsdaqthread(acs_hcomm):
thread = AcsDaqThread(acs_hc=acs_hcomm, makeprg=True)
thread.start()
time.sleep(2)
thread.stop()
assert np.all(np.diff(thread.data["time"] == 0.001))
assert np.all(np.round(np.diff(thread.data["time"]), decimals=6) == 0.001)

0 comments on commit b65570f

Please sign in to comment.