Skip to content

Commit d5801a8

Browse files
committed
debug: last tests
1 parent 8035e29 commit d5801a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/3_test_predictive_control.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ end
9090
preparestate!(mpc5, [10])
9191
r = [15]
9292
u = moveinput!(mpc5, r)
93-
@test u [0.2] atol=1e-2
93+
@test u [1] atol=1e-2
9494
info = getinfo(mpc5)
95-
@test info[:u] [1]
96-
@test info[:Ŷ][end] 15
95+
@test info[:u] [1] atol=1e-2
96+
@test info[:Ŷ][end] 15 atol=1e-2
9797

9898
@test_throws DimensionMismatch moveinput!(mpc1, [0,0,0])
9999
@test_throws DimensionMismatch moveinput!(mpc1, [0], [0,0])

0 commit comments

Comments
 (0)