Skip to content

Commit 070659d

Browse files
committed
test: rename test to not use System
System is an exported function. And now it is used to build ODESystem by default
1 parent 756d80d commit 070659d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/initializationsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ end
216216
end
217217
end
218218

219-
@mtkmodel System begin
219+
@mtkmodel HydraulicSystem begin
220220
@components begin
221221
res₁ = Orifice(p′ = 300e5)
222222
res₂ = Orifice(p′ = 0)
@@ -234,7 +234,7 @@ end
234234
end
235235
end
236236

237-
@mtkbuild sys = System()
237+
@mtkbuild sys = HydraulicSystem()
238238
initprob = ModelingToolkit.InitializationProblem(sys, 0.0)
239239
conditions = getfield.(equations(initprob.f.sys), :rhs)
240240

test/split_parameters.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ end
285285
end
286286
end
287287

288-
@mtkmodel System begin
288+
@mtkmodel ApexSystem begin
289289
@components begin
290290
subsys = SubSystem()
291291
end
@@ -300,7 +300,7 @@ end
300300
end
301301
end
302302

303-
@named sys = System()
303+
@named sys = ApexSystem()
304304
sysref = complete(sys)
305305
sys2 = complete(sys; split = true, flatten = false)
306306
ps = Set(full_parameters(sys2))

0 commit comments

Comments
 (0)