Skip to content

Commit ff5b592

Browse files
committed
Update test_chebyshev.jl
1 parent a626602 commit ff5b592

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/test_chebyshev.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ ContinuumArrays.invmap(::InvQuadraticMap{T}) where T = QuadraticMap{T}()
9696
@test MemoryLayout(wT[y,1:3]) isa MappedWeightedBasisLayout
9797
@test wT[y,1:3][[0.1,0.2],1:2] == wT[y[[0.1,0.2]],1:2]
9898

99+
@testset "Derivative" begin
100+
wU = Weighted(ChebyshevU())
101+
D = Derivative(Inclusion(0..1))
102+
@test isbanded(wT[y,:] \ D * wU[y,:])
103+
@test isbanded((wU[y,:]' * D').args[1])
104+
end
105+
99106
@testset "QuadraticMap" begin
100107
m = QuadraticMap()
101108
mi = InvQuadraticMap()

0 commit comments

Comments
 (0)