Skip to content

Commit

Permalink
Fixed floating point in test
Browse files Browse the repository at this point in the history
  • Loading branch information
darrencl committed Mar 11, 2020
1 parent 51ed0e5 commit 8fba1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/processing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ end
# is implementation defined, so there can be some 1ULP or so difference in
# simple_averaging() which are system-dependent and cause the tests to be
# unreliable.
@test signal[1] 1.285736325932893e-5 - 6.254529717934169e-6im
@test signal[1] 1.285736f-5 - 6.254529f-6im

signal = simple_averaging(press, downsample=2)
@test size(signal) == (1024,)
# See comment above regarding channel combination.
@test signal[1] 1.0124327396397095e-5 - 5.623437539355392e-6im
@test signal[1] 1.012432f-5 - 5.623437f-6im
end

0 comments on commit 8fba1f5

Please sign in to comment.