Skip to content

Commit 0ccb8c9

Browse files
committed
test: remove extraneous model-parsing test set
1 parent 3264db8 commit 0ccb8c9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/model_parsing.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end
4747
output = RealOutput()
4848
end
4949
@parameters begin
50-
k, [description = "Constant output value of block"]
50+
k, [description = "Constant output value of block", unit = u"V"]
5151
end
5252
@equations begin
5353
output.u ~ k
@@ -426,6 +426,7 @@ end
426426
@test A.structure[:components] == [[:cc, :C]]
427427
end
428428

429+
using ModelingToolkit: D_nounits
429430
@testset "Event handling in MTKModel" begin
430431
@mtkmodel M begin
431432
@variables begin
@@ -434,9 +435,9 @@ end
434435
z(t)
435436
end
436437
@equations begin
437-
x ~ -D(x)
438-
D(y) ~ 0
439-
D(z) ~ 0
438+
x ~ -D_nounits(x)
439+
D_nounits(y) ~ 0
440+
D_nounits(z) ~ 0
440441
end
441442
@continuous_events begin
442443
[x ~ 1.5] => [x ~ 5, y ~ 1]

test/runtests.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,3 @@ end
9494
@safetestset "BifurcationKit Extension Test" include("extensions/bifurcationkit.jl")
9595
end
9696
end
97-
98-
@safetestset "Model Parsing Test" include("model_parsing.jl")

0 commit comments

Comments
 (0)