Changeset 551:9d0d7e20f76d in lemon-main for test
- Timestamp:
- 03/19/09 08:40:34 (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/lp_test.cc
r542 r551 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-200 85 * Copyright (C) 2003-2009 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 366 366 { 367 367 //Test for clone/new 368 368 369 369 LP* lp = new LP(); 370 370 LP* lpnew = lp->newSolver(); … … 394 394 lpTest(lp_cplex1); 395 395 aTest(lp_cplex2); 396 cloneTest<CplexLp>(); 396 397 } catch (CplexEnv::LicenseError& error) { 397 398 #ifdef LEMON_FORCE_CPLEX_CHECK … … 402 403 #endif 403 404 } 404 cloneTest<CplexLp>();405 405 #endif 406 406 -
test/mip_test.cc
r542 r551 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-200 85 * Copyright (C) 2003-2009 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 110 110 void cloneTest() 111 111 { 112 112 113 113 MIP* mip = new MIP(); 114 114 MIP* mipnew = mip->newSolver(); … … 134 134 CplexMip mip2; 135 135 aTest(mip2); 136 cloneTest<CplexMip>(); 136 137 } catch (CplexEnv::LicenseError& error) { 137 138 #ifdef LEMON_FORCE_CPLEX_CHECK … … 142 143 #endif 143 144 } 144 cloneTest<CplexMip>();145 145 #endif 146 146
Note: See TracChangeset
for help on using the changeset viewer.