Skip to content

Commit

Permalink
Update tests for the last comit
Browse files Browse the repository at this point in the history
  • Loading branch information
aceglia committed Jul 5, 2023
1 parent d0c7f91 commit 1f09785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_data_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_real_time_processing(method):
np.testing.assert_almost_equal(processed_data[:, -1], [0.156469, 0.1365517])
elif method == RealTimeProcessingMethod.GetPeaks:
np.testing.assert_almost_equal(processed_data[:, -1], [0.0, 0.0])
np.testing.assert_almost_equal(nb_peaks, 100)
np.testing.assert_almost_equal(nb_peaks[-1], 100)
elif method == RealTimeProcessingMethod.ProcessGenericSignal:
np.testing.assert_almost_equal(processed_data[:, -1], [0.0164153, 0.0218168])
elif method == RealTimeProcessingMethod.Custom:
Expand Down

0 comments on commit 1f09785

Please sign in to comment.