Skip to content

Commit 11cb8ab

Browse files
run all core tests
1 parent 02261fa commit 11cb8ab

File tree

1 file changed

+58
-56
lines changed

1 file changed

+58
-56
lines changed

test/runtests.jl

Lines changed: 58 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -10,68 +10,70 @@ const GROUP = get(ENV, "GROUP", "All")
1010
end
1111

1212
if GROUP == "Core" || GROUP == "All"
13-
# Blocks
14-
@safetestset "Blocks: utils" begin
15-
include("Blocks/utils.jl")
16-
end
17-
@safetestset "Blocks: math" begin
18-
include("Blocks/math.jl")
19-
end
20-
@safetestset "Blocks: nonlinear" begin
21-
include("Blocks/nonlinear.jl")
22-
end
23-
@safetestset "Blocks: continuous" begin
24-
include("Blocks/continuous.jl")
25-
end
26-
@safetestset "Blocks: sources" begin
27-
include("Blocks/sources.jl")
28-
end
29-
@safetestset "Blocks: analysis points" begin
30-
include("Blocks/test_analysis_points.jl")
31-
end
13+
@testset "Core" begin
14+
# Blocks
15+
@safetestset "Blocks: utils" begin
16+
include("Blocks/utils.jl")
17+
end
18+
@safetestset "Blocks: math" begin
19+
include("Blocks/math.jl")
20+
end
21+
@safetestset "Blocks: nonlinear" begin
22+
include("Blocks/nonlinear.jl")
23+
end
24+
@safetestset "Blocks: continuous" begin
25+
include("Blocks/continuous.jl")
26+
end
27+
@safetestset "Blocks: sources" begin
28+
include("Blocks/sources.jl")
29+
end
30+
@safetestset "Blocks: analysis points" begin
31+
include("Blocks/test_analysis_points.jl")
32+
end
3233

33-
# Electrical
34-
@safetestset "Analog Circuits" begin
35-
include("Electrical/analog.jl")
36-
end
34+
# Electrical
35+
@safetestset "Analog Circuits" begin
36+
include("Electrical/analog.jl")
37+
end
3738

38-
@safetestset "Digital Circuits" begin
39-
include("Electrical/digital.jl")
40-
end
41-
@safetestset "Chua Circuit Demo" begin
42-
include("chua_circuit.jl")
43-
end
39+
@safetestset "Digital Circuits" begin
40+
include("Electrical/digital.jl")
41+
end
42+
@safetestset "Chua Circuit Demo" begin
43+
include("chua_circuit.jl")
44+
end
4445

45-
# Thermal
46-
@safetestset "Thermal Circuits" begin
47-
include("Thermal/thermal.jl")
48-
end
49-
@safetestset "Thermal Demo" begin
50-
include("Thermal/demo.jl")
51-
end
46+
# Thermal
47+
@safetestset "Thermal Circuits" begin
48+
include("Thermal/thermal.jl")
49+
end
50+
@safetestset "Thermal Demo" begin
51+
include("Thermal/demo.jl")
52+
end
5253

53-
# Magnetic
54-
@safetestset "Magnetic" begin
55-
include("Magnetic/magnetic.jl")
56-
end
54+
# Magnetic
55+
@safetestset "Magnetic" begin
56+
include("Magnetic/magnetic.jl")
57+
end
5758

58-
# Mechanical
59-
@safetestset "Mechanical Rotation" begin
60-
include("Mechanical/rotational.jl")
61-
end
62-
@safetestset "Mechanical Translation" begin
63-
include("Mechanical/translational.jl")
64-
end
65-
@safetestset "Mechanical Translation" begin
66-
include("Mechanical/translational_modelica.jl")
67-
end
68-
@safetestset "Multi-Domain" begin
69-
include("multi_domain.jl")
70-
end
59+
# Mechanical
60+
@safetestset "Mechanical Rotation" begin
61+
include("Mechanical/rotational.jl")
62+
end
63+
@safetestset "Mechanical Translation" begin
64+
include("Mechanical/translational.jl")
65+
end
66+
@safetestset "Mechanical Translation" begin
67+
include("Mechanical/translational_modelica.jl")
68+
end
69+
@safetestset "Multi-Domain" begin
70+
include("multi_domain.jl")
71+
end
7172

72-
# Hydraulic
73-
@safetestset "Hydraulic IsothermalCompressible" begin
74-
include("Hydraulic/isothermal_compressible.jl")
73+
# Hydraulic
74+
@safetestset "Hydraulic IsothermalCompressible" begin
75+
include("Hydraulic/isothermal_compressible.jl")
76+
end
7577
end
7678
end
7779
end

0 commit comments

Comments
 (0)