Skip to content

Commit adaaf5f

Browse files
authored
Test for DefaultDeriv inference and QuotientSpace (#290)
* Test for DefaultDeriv inference * QuotientSpace inference test
1 parent 86877f1 commit adaaf5f

File tree

3 files changed

+7
-1
lines changed

3 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.47, 0.9.2"
30+
ApproxFunBase = "0.8.48, 0.9.3"
3131
ApproxFunBaseTest = "0.1"
3232
Aqua = "0.6"
3333
BandedMatrices = "0.16, 0.17"

test/EigTest.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ using Test
1818
L = -Derivative(S, 2)
1919
B = Neumann(S)
2020

21+
QS = QuotientSpace(B)
22+
@inferred (QS -> QS.F)(QS)
23+
2124
n = 50
2225
Seig = SymmetricEigensystem(L, B)
2326
SA, SB = bandmatrices_eigen(Seig, n)

test/JacobiTest.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ include("testutils.jl")
362362

363363
D = Derivative(NormalizedLegendre(), 2)
364364
@test (@inferred rangespace(D)) == Jacobi(2,2)
365+
366+
D = @inferred (S -> Derivative(S, 2))(NormalizedLegendre(0..1))
367+
@test D * Fun(x->x^3, Legendre(0..1)) Fun(x->6x, Legendre(0..1))
365368
end
366369

367370
@testset "identity Fun for interval domains" begin

0 commit comments

Comments
 (0)