Skip to content

Commit cad492f

Browse files
committed
add tests against Legendre()
1 parent 0c4f7cd commit cad492f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/JacobiTest.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ import ApproxFunOrthogonalPolynomials: jacobip
6161
g = Fun(x->x, s)
6262
@test coefficients(f) coefficients(g)
6363
end
64+
f = Fun(identity, Legendre(-1..1))
65+
g = Fun(identity, Legendre())
66+
@test coefficients(f) coefficients(g)
67+
@test f(0.2) g(0.2) 0.2
6468
end
6569

6670
@testset "Jacobi multiplication" begin

0 commit comments

Comments
 (0)