Skip to content

Commit 85c3970

Browse files
committed
tests for banded operator
1 parent 0098630 commit 85c3970

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/JacobiTest.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,14 @@ import ApproxFunOrthogonalPolynomials: jacobip
380380

381381
@testset "Multiplication" begin
382382
xJ = Fun(NormalizedJacobi(1,1))
383-
@test (Multiplication(Fun()) * xJ)(0.4) (0.4)^2
384-
@test (Multiplication(Fun(NormalizedChebyshev())) * xJ)(0.4) (0.4)^2
383+
xC = Fun()
384+
xNC = Fun(NormalizedChebyshev())
385+
@test (Multiplication(xC) * xJ)(0.4) (0.4)^2
386+
@test (Multiplication(xNC) * xJ)(0.4) (0.4)^2
387+
@test ApproxFunBase.isbanded(Multiplication(xC, NormalizedLegendre()))
388+
@test ApproxFunBase.isbanded(Multiplication(xNC, NormalizedLegendre()))
389+
@test ApproxFunBase.isbanded(Multiplication(xC, NormalizedJacobi(1,1)))
390+
@test ApproxFunBase.isbanded(Multiplication(xNC, NormalizedJacobi(1,1)))
385391
end
386392
end
387393

0 commit comments

Comments
 (0)