Skip to content

Commit

Permalink
change tests for compat with 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wheeheee committed Nov 21, 2023
1 parent 9deaf7e commit b1063e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ end
@test_throws ArgumentError feacalc("bl2.wav", :bosespeaker)
@test_throws ArgumentError mfcc(y, sr, :pasta)
@test_throws ArgumentError postaud(y_mat, 4000, :cough)
@test_throws "Lift number is too high (>10)" lifter(y, 100)
@test_throws "Negative lift must be integer" lifter(y, -0.6)
@test_throws DomainError lifter(y, 100)
@test_throws DomainError lifter(y, -0.6)
@test_throws ArgumentError levinson(Int[], 1)
@test_throws DomainError levinson(x, -1)

@test_warn "First elements of a Toeplitz matrix should be equal." toeplitz([1 + im])
@test_logs (:warn, "First elements of a Toeplitz matrix should be equal.") toeplitz([1 + im])
end

println("Tests passed")

0 comments on commit b1063e9

Please sign in to comment.