Skip to content

Commit aa301f9

Browse files
Add ConstantSpace test for norm/integrate (#311)
* Add ConstantSpace test for norm/integrate * Include ApproxFunBase v0.8.58 as compatible version
1 parent b8253bb commit aa301f9

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
@@ -30,7 +30,7 @@ ApproxFunOrthogonalPolynomialsPolynomialsExt = "Polynomials"
3030
ApproxFunOrthogonalPolynomialsStaticExt = "Static"
3131

3232
[compat]
33-
ApproxFunBase = "0.8.57, 0.9.13"
33+
ApproxFunBase = "0.8.58, 0.9.15"
3434
ApproxFunBaseTest = "0.1"
3535
Aqua = "0.7"
3636
BandedMatrices = "0.16, 0.17"

test/SpacesTest.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ using ApproxFunBaseTest: testbandedoperator, testraggedbelowoperator,
254254
@test angle(f)(2.0) 0
255255
end
256256

257+
@testset "ConstantSpace" begin
258+
f = Fun(3, ConstantSpace(0..1))
259+
260+
@test norm(f) == 3
261+
end
262+
257263
@testset "Jump Locations" begin
258264
x = Fun(UnionDomain(0..1, 2..3))
259265
@test length(jumplocations(sign(x))) == 0

0 commit comments

Comments
 (0)