Skip to content

Commit b315138

Browse files
test: update tests to account for new u0
1 parent 5b21609 commit b315138

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/initializationsystem.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,10 +1186,10 @@ end
11861186
@mtkbuild sys = ODESystem([D(x) ~ x * p + q, x^3 + y^3 ~ 3], t)
11871187
prob = ODEProblem(
11881188
sys, [], (0.0, 1.0), [p => 1.0]; guesses = [x => 1.0, y => 1.0, q => 1.0])
1189-
@test prob[x] == 0.0
1190-
@test prob[y] == 0.0
1189+
@test prob[x] == 1.0
1190+
@test prob[y] == 2.0
11911191
@test prob.ps[p] == 1.0
1192-
@test prob.ps[q] == 0.0
1192+
@test prob.ps[q] == 3.0
11931193
integ = init(prob)
11941194
@test integ[x] 1 / cbrt(3)
11951195
@test integ[y] 2 / cbrt(3)

0 commit comments

Comments
 (0)