Skip to content

Commit

Permalink
check solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Dec 17, 2014
1 parent 667aa7e commit 3afd03b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_ewsb_solver.cpp
Expand Up @@ -97,6 +97,9 @@ BOOST_AUTO_TEST_CASE( test_parabola_2dim )

BOOST_CHECK(status == EWSB_solver<dimension>::SUCCESS);

BOOST_CHECK_CLOSE_FRACTION(solvers[i]->get_solution(0), 5., 0.01);
BOOST_CHECK_CLOSE_FRACTION(solvers[i]->get_solution(1), 1., 0.01);

BOOST_MESSAGE("solver " << i << ": "
<< (status == EWSB_solver<dimension>::SUCCESS ?
"success" : "fail")
Expand Down

0 comments on commit 3afd03b

Please sign in to comment.