diff -r ab368e0ab662 -r b437bdee6fd0 test/mip_test.cc --- a/test/mip_test.cc Mon Jul 17 11:56:17 2006 +0000 +++ b/test/mip_test.cc Tue Jul 18 11:11:54 2006 +0000 @@ -1,12 +1,82 @@ #include +#include "test_tools.h" using namespace lemon; -int main(){ +void solveAndCheck(Mip& lp, LpSolverBase::SolutionStatus stat, + double exp_opt) { + using std::string; + lp.solve(); + //int decimal,sign; + std::ostringstream buf; + buf << "Primalstatus should be: " << int(stat)<<" and it is "<