Skip to content

Commit cc3ab11

Browse files
committed
[unittest] [eiquadprog-fast] Add additional warning to test_unbounded
1 parent 677a8f8 commit cc3ab11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unittest/eiquadprog-fast.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ BOOST_AUTO_TEST_CASE(test_unbounded) {
401401
EiquadprogFast_status status = qp.solve_quadprog(Q, C, Aeq, Beq, Aineq, Bineq, x);
402402

403403
BOOST_WARN_EQUAL(status, expected);
404+
BOOST_WARN(status != EIQUADPROG_FAST_OPTIMAL); // SHOULD pass!
404405
}
405406

406407
// min -||x||^2

0 commit comments

Comments
 (0)