Skip to content

Commit dfb8ad1

Browse files
test: minor test update to account for new full_equations
1 parent 338e20f commit dfb8ad1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/ModelingToolkitBase/test/serialization.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ str = String(take!(io))
2929

3030
sys = include_string(@__MODULE__, str)
3131
rc2 = expand_connections(rc_model)
32-
@test isapprox(sys, rc2)
33-
@test issetequal(equations(sys), equations(rc2))
32+
@test issetequal(full_equations(sys), full_equations(rc2))
3433
@test issetequal(unknowns(sys), unknowns(rc2))
3534
@test issetequal(parameters(sys), parameters(rc2))
3635

@@ -54,5 +53,4 @@ sol_ = solve(prob_, ImplicitEuler())
5453
probexpr = ODEProblem{true}(ss, [capacitor.v => 0.0], (0, 0.1); expr = Val{true}, missing_guess_value);
5554
prob_obs = eval(probexpr)
5655
sol_obs = solve(prob_obs, ImplicitEuler())
57-
@show all_obs
5856
@test sol_obs[all_obs] == sol[all_obs]

0 commit comments

Comments
 (0)