-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathruntests.jl
More file actions
76 lines (74 loc) · 2.1 KB
/
runtests.jl
File metadata and controls
76 lines (74 loc) · 2.1 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
using Aqua
using Documenter
using JET
using JuliaFormatter
using SparseMatrixColorings
using Test
include("utils.jl")
@testset verbose = true "SparseMatrixColorings" begin
@testset verbose = true "Code quality" begin
if VERSION >= v"1.10"
@testset "Aqua" begin
Aqua.test_all(SparseMatrixColorings)
end
@testset "JET" begin
JET.test_package(SparseMatrixColorings; target_defined_modules=true)
end
@testset "JuliaFormatter" begin
@test JuliaFormatter.format(
SparseMatrixColorings; verbose=false, overwrite=false
)
end
end
@testset "Doctests" begin
Documenter.doctest(SparseMatrixColorings)
end
end
@testset verbose = true "Internals" begin
@testset "Graph" begin
include("graph.jl")
end
@testset "Order" begin
include("order.jl")
end
@testset "Check" begin
include("check.jl")
end
@testset "Matrices" begin
include("matrices.jl")
end
@testset "Constructors" begin
include("constructors.jl")
end
@testset "Constant coloring" begin
include("constant.jl")
end
end
@testset verbose = true "Correctness" begin
@testset "Small instances" begin
include("small.jl")
end
@testset "Random instances" begin
include("random.jl")
end
@testset "Structured matrices" begin
include("structured.jl")
end
@testset "Instances with known colorings" begin
include("theory.jl")
end
@testset "SuiteSparse" begin
include("suitesparse.jl")
end
end
@testset verbose = true "Performance" begin
if VERSION >= v"1.10"
@testset "Type stability" begin
include("type_stability.jl")
end
end
@testset "Allocations" begin
include("allocations.jl")
end
end
end