Skip to content

Commit 503c4fc

Browse files
committed
Update tests
1 parent 2dd7236 commit 503c4fc

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

test/reduction.jl

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,7 @@ lorenz1 = ODESystem(eqs,t,name=:lorenz1)
4242

4343
lorenz1_aliased = alias_elimination(lorenz1)
4444
io = IOBuffer(); show(io, lorenz1_aliased); str = String(take!(io))
45-
@test str == """
46-
Model lorenz1 with 4 equations
47-
States (3):
48-
x(t)
49-
y(t)
50-
z(t)
51-
Parameters (3):
52-
σ
53-
ρ
54-
β
55-
Incidence matrix:
56-
× × × ⋅ ⋅
57-
× × ⋅ × ×
58-
× × ⋅ ⋅ ×
59-
× × ⋅ ⋅ ⋅"""
45+
@test all(s->occursin(s, str), ["lorenz1", "States (3)", "Parameters (3)"])
6046
reduced_eqs = [
6147
D(x) ~ σ*(y - x)
6248
D(y) ~ β + x*- z) - y

0 commit comments

Comments
 (0)