Skip to content

Test routines from ApproxFunBaseTest #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[compat]
AbstractFFTs = "0.5, 1"
ApproxFunBase = "0.7"
ApproxFunBaseTest = "0.1"
Aqua = "0.5"
BandedMatrices = "0.16, 0.17"
BlockArrays = "0.14, 0.15, 0.16"
Expand All @@ -37,10 +38,11 @@ SpecialFunctions = "0.10, 1.0, 2"
julia = "1.6"

[extras]
ApproxFunBaseTest = "a931bfaf-0cfd-4a5c-b69c-bf2eed002b43"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "Test", "StaticArrays", "LazyArrays"]
test = ["ApproxFunBaseTest", "Aqua", "Test", "StaticArrays", "LazyArrays"]
3 changes: 2 additions & 1 deletion test/ChebyshevTest.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, LinearAlgebra, Test
import ApproxFunBase: testspace, recA, recB, recC, transform!, itransform!
import ApproxFunBase: recA, recB, recC, transform!, itransform!
import ApproxFunBaseTest: testspace
import ApproxFunOrthogonalPolynomials: forwardrecurrence

@testset "Chebyshev" begin
Expand Down
10 changes: 6 additions & 4 deletions test/EigTest.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, BandedMatrices, SpecialFunctions, Test
import ApproxFunBase: bandwidth


using ApproxFunOrthogonalPolynomials
using ApproxFunBase
using ApproxFunBase: bandwidth
using BandedMatrices
using SpecialFunctions
using Test

@testset "Eigenvalue problems" begin
@testset "Negative Laplacian with Neumann boundary conditions" begin
Expand Down
2 changes: 1 addition & 1 deletion test/HermiteTest.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, Test
import ApproxFunBase: testbandedoperator
import ApproxFunBaseTest: testbandedoperator

@testset "Hermite and GaussWeight" begin
@testset "Evaluation" begin
Expand Down
5 changes: 3 additions & 2 deletions test/JacobiTest.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, Test, SpecialFunctions, LinearAlgebra
import ApproxFunBase: testbandedbelowoperator, testbandedoperator, testspace, testtransforms, Vec,
maxspace, NoSpace, hasconversion, testfunctional,
import ApproxFunBase: Vec, maxspace, NoSpace, hasconversion,
reverseorientation, ReverseOrientation, transform!, itransform!
using ApproxFunBaseTest: testbandedbelowoperator, testbandedoperator, testspace, testtransforms,
testfunctional
import ApproxFunOrthogonalPolynomials: jacobip

@testset "Jacobi" begin
Expand Down
2 changes: 1 addition & 1 deletion test/LaguerreTest.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, Test
import ApproxFunBase: testbandedoperator
import ApproxFunBaseTest: testbandedoperator


@testset "Laguerre and WeightedLaguerre" begin
Expand Down
4 changes: 2 additions & 2 deletions test/MultivariateTest.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using ApproxFunBase, ApproxFunOrthogonalPolynomials, LinearAlgebra, SpecialFunctions, BlockBandedMatrices, Test
import ApproxFunBase: testbandedblockbandedoperator, testraggedbelowoperator, factor, Block, cfstype,
blocklengths, block, tensorizer, Vec, ArraySpace, ∞,
import ApproxFunBase: factor, Block, cfstype, blocklengths, block, tensorizer, Vec, ArraySpace, ∞
using ApproxFunBaseTest: testbandedblockbandedoperator, testraggedbelowoperator,
testblockbandedoperator
import ApproxFunOrthogonalPolynomials: chebyshevtransform

Expand Down
3 changes: 2 additions & 1 deletion test/ODETest.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, Test, LazyArrays
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞, ℵ₀
import ApproxFunBase: Multiplication, interlace, ∞, ℵ₀
using ApproxFunBaseTest: testraggedbelowoperator, testbandedoperator

@testset "ODE" begin
@testset "Airy" begin
Expand Down
5 changes: 3 additions & 2 deletions test/OperatorTest.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, BlockBandedMatrices, LinearAlgebra, Test
import ApproxFunBase: Multiplication,InterlaceOperator, Block, ∞,
testfunctional, testbandedoperator, testraggedbelowoperator, testinfoperator, testblockbandedoperator
import ApproxFunBase: Multiplication, InterlaceOperator, Block, ∞
using ApproxFunBaseTest: testfunctional, testbandedoperator, testraggedbelowoperator,
testinfoperator, testblockbandedoperator
import ApproxFunOrthogonalPolynomials: JacobiZ

@testset "Operator" begin
Expand Down
3 changes: 2 additions & 1 deletion test/PDETest.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ApproxFunBase, ApproxFunOrthogonalPolynomials, LinearAlgebra, Test
import ApproxFunBase: testbandedblockbandedoperator, testblockbandedoperator, testraggedbelowoperator, Block, ldiv_coefficients
import ApproxFunBase: Block, ldiv_coefficients
using ApproxFunBaseTest: testbandedblockbandedoperator, testblockbandedoperator, testraggedbelowoperator

@testset "PDE" begin
@testset "Rectangle Laplace/Poisson" begin
Expand Down
6 changes: 3 additions & 3 deletions test/SpacesTest.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using ApproxFunOrthogonalPolynomials, SpecialFunctions, LinearAlgebra, Test
import DomainSets
import DomainSets: UnionDomain
import ApproxFunBase: space, SpaceOperator,
testspace, testbandedoperator, testraggedbelowoperator, testcalculus, testtransforms,
testfunctional
import ApproxFunBase: space, SpaceOperator
using ApproxFunBaseTest: testspace, testbandedoperator, testraggedbelowoperator,
testcalculus, testtransforms, testfunctional

@testset "Spaces" begin
@testset "evaluate" begin
Expand Down
6 changes: 3 additions & 3 deletions test/UltrasphericalTest.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, Test, SpecialFunctions, LinearAlgebra
import ApproxFunBase: testbandedbelowoperator, testbandedoperator, testspace, testtransforms, Vec,
maxspace, NoSpace, hasconversion, testfunctional,
reverseorientation, ReverseOrientation
import ApproxFunBase: Vec, maxspace, NoSpace, hasconversion, reverseorientation, ReverseOrientation
using ApproxFunBaseTest: testbandedbelowoperator, testbandedoperator, testspace, testtransforms,
testfunctional
import ApproxFunOrthogonalPolynomials: jacobip

@testset "Ultraspherical" begin
Expand Down
17 changes: 11 additions & 6 deletions test/VectorTest.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, LazyArrays, FillArrays, LinearAlgebra, SpecialFunctions, Test
import ApproxFunBase: interlace, Multiplication, ConstantSpace, PointSpace,
ArraySpace, testblockbandedoperator, blocklengths, ∞,
testraggedbelowoperator, Vec


using ApproxFunOrthogonalPolynomials
using ApproxFunBase
using LazyArrays
using FillArrays
using LinearAlgebra
using SpecialFunctions
using Test
import ApproxFunBase: interlace, Multiplication, ConstantSpace, PointSpace,
ArraySpace, blocklengths, ∞, Vec

using ApproxFunBaseTest: testblockbandedoperator, testraggedbelowoperator


@testset "Vector" begin
Expand Down
2 changes: 1 addition & 1 deletion test/miscAFBase.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ApproxFunBaseTests
module MiscApproxFunBaseTests

using ApproxFunOrthogonalPolynomials
using ApproxFunBase
Expand Down