Skip to content

Commit b53817b

Browse files
committed
Add test
1 parent d6ac9b4 commit b53817b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/odesystem.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,5 +861,7 @@ let
861861
@test length(equations(as)) == 1
862862
@test isequal(equations(as)[1].lhs, -der(der(x)))
863863
# TODO: maybe do not emit x_t
864-
@test_nowarn sys4s = structural_simplify(sys4)
864+
sys4s = structural_simplify(sys4)
865+
prob = ODAEProblem(sys4s, [x => 1.0, D(x) => 1.0], (0, 1.0))
866+
@test string.(prob.f.syms) == ["x(t)", "xˍt(t)"]
865867
end

0 commit comments

Comments
 (0)