File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed
Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ ApproxFunOrthogonalPolynomialsPolynomialsExt = "Polynomials"
3030ApproxFunOrthogonalPolynomialsStaticExt = " Static"
3131
3232[compat ]
33- ApproxFunBase = " 0.8.60 , 0.9.16 "
33+ ApproxFunBase = " 0.8.63 , 0.9.21 "
3434ApproxFunBaseTest = " 0.1"
3535Aqua = " 0.8"
3636BandedMatrices = " 0.16, 0.17, 1"
Original file line number Diff line number Diff line change @@ -126,25 +126,6 @@ include("testutils.jl")
126126 end
127127 end
128128
129- @testset " other domains" begin
130- ef = Fun (exp,1 .. 2 )
131- cf = Fun (cos,1 .. 2 )
132-
133- ecf = Fun (x-> cos (x).* exp (x),1 .. 2 )
134- eocf = Fun (x-> cos (x)./ exp (x),1 .. 2 )
135-
136- x= 1.5
137- @test ef (x) ≈ exp (x)
138-
139- r= rand (100 ) .+ 1
140- @test maximum (abs,ef .(r)- exp .(r))< 400 eps ()
141- @test maximum (abs,ecf .(r).- cos .(r).* exp .(r))< 100 eps ()
142-
143- @testset " setdomain" begin
144- @test setdomain (NormalizedChebyshev (0 .. 1 ), 1 .. 2 ) == NormalizedChebyshev (1 .. 2 )
145- end
146- end
147-
148129 @testset " Other interval" begin
149130 ef = Fun (exp,1 .. 2 )
150131 cf = Fun (cos,1 .. 2 )
@@ -170,6 +151,13 @@ include("testutils.jl")
170151
171152 @test sum (ef) ≈ 4.670774270471604
172153 @test norm (ef) ≈ 4.858451087240335
154+
155+ @testset " setdomain" begin
156+ @test setdomain (NormalizedChebyshev (0 .. 1 ), 1 .. 2 ) == NormalizedChebyshev (1 .. 2 )
157+ end
158+
159+ fexp = @inferred Fun (exp, Chebyshev (big (- 1.0 ) .. big (1.0 )))
160+ @test fexp (0.5 ) ≈ exp (big (0.5 ))
173161 end
174162
175163 @testset " Roots" begin
You can’t perform that action at this time.
0 commit comments