Skip to content

Commit c48fd6f

Browse files
authored
ProductFun coefficient tests (#292)
1 parent afa74b5 commit c48fd6f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
2727
ApproxFunOrthogonalPolynomialsStaticExt = "Static"
2828

2929
[compat]
30-
ApproxFunBase = "0.8.48, 0.9.3"
30+
ApproxFunBase = "0.8.49, 0.9.4"
3131
ApproxFunBaseTest = "0.1"
3232
Aqua = "0.6"
3333
BandedMatrices = "0.16, 0.17"

test/MultivariateTest.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,12 @@ include("testutils.jl")
531531
b = ((P * KroneckerOperator(A)) * P)(xi, yi)
532532
@test a b
533533
end
534+
535+
@testset "coefficients" begin
536+
local P = ProductFun((x,y) -> x*y, Chebyshev()^2)
537+
@test coefficients(P, space(P)) == coefficients(P)
538+
@test Fun(ProductFun(P, Ultraspherical(1)^2)) Fun(P)
539+
end
534540
end
535541

536542
@testset "Functional*Fun" begin

0 commit comments

Comments
 (0)