Skip to content

Commit c61b3de

Browse files
fix up test
1 parent 372ac3d commit c61b3de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/modelingtoolkitize.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,5 +254,5 @@ problem = ODEProblem(SIR!,u0,tspan,p)
254254
sys = modelingtoolkitize(problem)
255255

256256
@parameters t
257-
@test parameters(sys) == @variables(β, η, ω, φ, σ, μ)
258-
@test states(sys) == @variables(S(t),I(t),R(t),C(t))
257+
@test all(isequal.(parameters(sys),getproperty.(@variables(β, η, ω, φ, σ, μ),:val)))
258+
@test all(isequal.(Symbol.(states(sys)),Symbol.(@variables(S(t),I(t),R(t),C(t)))))

0 commit comments

Comments
 (0)