-
Notifications
You must be signed in to change notification settings - Fork 86
/
runtests.jl
45 lines (36 loc) · 1012 Bytes
/
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
45
using MathOptInterface
const MOI = MathOptInterface
const MOIT = MathOptInterface.Test
const MOIU = MathOptInterface.Utilities
const MOIB = MathOptInterface.Bridges
using Test
# Tests for solvers are located in MOI.Test.
include("dummy.jl")
# MOI tests not relying on any submodule
@testset "MOI" begin
include("isbits.jl")
include("isapprox.jl")
include("interval.jl")
include("errors.jl")
include("functions.jl")
include("sets.jl")
include("attributes.jl")
end
# Utilities submodule tests
@testset "MOI.Utilities" begin
include("Utilities/Utilities.jl")
end
# Test submodule tests
# It tests that the ConstraintPrimal value requested in the tests is consistent with the VariablePrimal
@testset "MOI.Test" begin
include("Test/Test.jl")
end
@testset "MOI.Bridges" begin
# Bridges submodule tests
include("Bridges/Bridges.jl")
end
@testset "MOI.Benchmarks" begin
include("Benchmarks/Benchmarks.jl")
end
# Test hygiene of @model macro
include("hygiene.jl")