Skip to content

Commit b4ba499

Browse files
committed
test: improve coverage
1 parent a68b7d6 commit b4ba499

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/3_test_predictive_control.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ end
878878
@test_throws ArgumentError NonLinMPC(nonlinmodel, transcription=TrapezoidalCollocation())
879879
@test_throws ArgumentError NonLinMPC(nonlinmodel, transcription=TrapezoidalCollocation(2))
880880
@test_throws ErrorException NonLinMPC(linmodel1, oracle=false, hessian=AutoFiniteDiff())
881+
@test_throws ArgumentError NonLinMPC(nonlinmodel, Wy=[1 0;0 1])
881882
end
882883

883884
@testitem "NonLinMPC moves and getinfo (LinModel)" setup=[SetupMPCtests] begin

0 commit comments

Comments
 (0)