1.1 --- a/test/lp_test.cc Wed Mar 18 16:18:05 2009 +0000
1.2 +++ b/test/lp_test.cc Thu Mar 19 08:40:34 2009 +0100
1.3 @@ -2,7 +2,7 @@
1.4 *
1.5 * This file is a part of LEMON, a generic C++ optimization library.
1.6 *
1.7 - * Copyright (C) 2003-2008
1.8 + * Copyright (C) 2003-2009
1.9 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
1.10 * (Egervary Research Group on Combinatorial Optimization, EGRES).
1.11 *
1.12 @@ -365,7 +365,7 @@
1.13 void cloneTest()
1.14 {
1.15 //Test for clone/new
1.16 -
1.17 +
1.18 LP* lp = new LP();
1.19 LP* lpnew = lp->newSolver();
1.20 LP* lpclone = lp->cloneSolver();
1.21 @@ -393,6 +393,7 @@
1.22 CplexLp lp_cplex1,lp_cplex2;
1.23 lpTest(lp_cplex1);
1.24 aTest(lp_cplex2);
1.25 + cloneTest<CplexLp>();
1.26 } catch (CplexEnv::LicenseError& error) {
1.27 #ifdef LEMON_FORCE_CPLEX_CHECK
1.28 check(false, error.what());
1.29 @@ -401,7 +402,6 @@
1.30 std::cerr << "Cplex license check failed, lp check skipped" << std::endl;
1.31 #endif
1.32 }
1.33 - cloneTest<CplexLp>();
1.34 #endif
1.35
1.36 #ifdef HAVE_SOPLEX