Skip to content

Commit 5713e3f

Browse files
committed
test: debug last tests
1 parent 7528a95 commit 5713e3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/3_test_predictive_control.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,12 +678,12 @@ end
678678
@test info[:u] u
679679
@test info[:Ŷ][end] 10 atol=5e-2
680680
nmpc9 = NonLinMPC(linmodel, Nwt=[0], Hp=100, Hc=1, transcription=MultipleShooting())
681-
preparestate!(nmpc9, [0])
682-
u = moveinput!(nmpc9, [15])
683-
@test u [3] atol=5e-2
681+
preparestate!(nmpc9, [10])
682+
u = moveinput!(nmpc9, [20])
683+
@test u [2] atol=5e-2
684684
info = getinfo(nmpc9)
685685
@test info[:u] u
686-
@test info[:Ŷ][end] 15 atol=5e-2
686+
@test info[:Ŷ][end] 20 atol=5e-2
687687
@test_nowarn ModelPredictiveControl.info2debugstr(info)
688688
end
689689

0 commit comments

Comments
 (0)