Skip to content

Commit f1427e9

Browse files
committed
add test
1 parent c02cd5a commit f1427e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/hankel_test.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ v, x = 14.3, 29.4
3131
@test isapprox(hankelh1(0.5:1:25.5, 15.0), SpecialFunctions.hankelh1.(0.5:1:25.5, 15.0), rtol=2e-13)
3232
@test isapprox(hankelh1(1:50, 100.0), SpecialFunctions.hankelh1.(1:50, 100.0), rtol=2e-13)
3333
@test isapprox(hankelh2(1:50, 10.0), SpecialFunctions.hankelh2.(1:50, 10.0), rtol=2e-13)
34+
35+
#test 2 arg version
36+
@test besselh(v, 1, x) == besselh(v, x)
37+
@test besselh(1:50, 1, 10.0) == besselh(1:50, 10.0)

0 commit comments

Comments
 (0)