Skip to content

Commit bd6a106

Browse files
committed
test: calling display on new linearize buffers for coverage
1 parent 5770b0c commit bd6a106

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/1_test_sim_model.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ end
286286
@test linmodel1.C linmodel2.C
287287
@test linmodel1.Dd linmodel2.Dd
288288

289+
display(nonlinmodel1.linbuffer)
290+
display(nonlinmodel1.linbuffer.buffer_f_at_u_d)
291+
289292
f1!(ẋ, x, u, d, _) = (ẋ .= x.^5 + u.^4 + d.^3; nothing)
290293
h1!(y, x, d, _) = (y .= x.^2 + d; nothing)
291294
nonlinmodel3 = NonLinModel(f1!,h1!,Ts,1,1,1,1,solver=RungeKutta())

0 commit comments

Comments
 (0)