Skip to content

Commit fc62ff1

Browse files
test: check length of original system tunables
1 parent 2b24c04 commit fc62ff1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parameter_dependencies.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ end
198198
@test_throws ArgumentError ModelingToolkit.subset_tunables(sys_incomplete, new_tunables)
199199
sys_nonsplit = mtkcompile(pendulum_sys; split = false)
200200
@test_throws ArgumentError ModelingToolkit.subset_tunables(sys_nonsplit, new_tunables)
201+
202+
@test length(ModelingToolkit.tunable_parameters(sys)) == 3
201203
end
202204

203205
struct CallableFoo

0 commit comments

Comments
 (0)