-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathruntests.jl
44 lines (36 loc) · 1.01 KB
/
runtests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using CompactBases
import CompactBases: locs,
unrestricted_basis, restriction_extents
using IntervalSets
using QuasiArrays
import QuasiArrays: AbstractQuasiArray, AbstractQuasiMatrix, MulQuasiArray
using ContinuumArrays
import ContinuumArrays: ℵ₁, Inclusion
using LinearAlgebra
using BandedMatrices
using BlockBandedMatrices
using SparseArrays
using LazyArrays
import LazyArrays: materialize, Dot
using FillArrays
using ArnoldiMethod
using Random
using Test
function vecdist(a::AbstractVector, b::AbstractVector,
ϵ = eps(eltype(a)))
δ = √(sum(abs2, a-b))
δ, δ/√(sum(abs2, a .+ ϵ))
end
include("derivative_accuracy_utils.jl")
@testset "CompactBases" begin
include("restricted_bases.jl")
include("fd/runtests.jl")
include("fedvr/runtests.jl")
include("bsplines/runtests.jl")
include("interpolation.jl")
include("inner_products.jl")
include("densities.jl")
include("linear_operators.jl")
include("orthogonality.jl")
include("basis_transforms.jl")
end