Skip to content

Commit 117161a

Browse files
committed
Add tests
1 parent 9e409e7 commit 117161a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/components.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ end
3030

3131
include("../examples/rc_model.jl")
3232

33+
@test ModelingToolkit.n_extra_equations(capacitor) == 2
3334
@test length(equations(structural_simplify(rc_model, allow_parameter=false))) > 1
3435
sys = structural_simplify(rc_model)
3536
check_contract(sys)

0 commit comments

Comments
 (0)