| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| TestSizableProblemIAsLPSolver |
|
| 1.0;1 |
| 1 | /* | |
| 2 | This file is part of Combean. | |
| 3 | ||
| 4 | Combean is free software; you can redistribute it and/or modify | |
| 5 | it under the terms of the GNU General Public License as published by | |
| 6 | the Free Software Foundation; either version 2 of the License, or | |
| 7 | (at your option) any later version. | |
| 8 | ||
| 9 | Combean is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | GNU General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU General Public License | |
| 15 | along with Combean; if not, write to the Free Software | |
| 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | */ | |
| 18 | /* | |
| 19 | * Created on 22.04.2005 | |
| 20 | * | |
| 21 | */ | |
| 22 | package net.sourceforge.combean.test.adapters.drasys.lp; | |
| 23 | ||
| 24 | import net.sourceforge.combean.adapters.drasys.lp.SizableProblemIAsLPSolver; | |
| 25 | import net.sourceforge.combean.interfaces.mathprog.lp.LPSolver; | |
| 26 | import net.sourceforge.combean.test.mathprog.lp.AbstractTestLPSolver; | |
| 27 | ||
| 28 | /** | |
| 29 | * @author schickin | |
| 30 | * | |
| 31 | */ | |
| 32 | public class TestSizableProblemIAsLPSolver extends AbstractTestLPSolver { | |
| 33 | ||
| 34 | public static void main(String[] args) { | |
| 35 | 0 | junit.textui.TestRunner.run(TestSizableProblemIAsLPSolver.class); |
| 36 | 0 | } |
| 37 | ||
| 38 | /* | |
| 39 | * @see TestCase#setUp() | |
| 40 | */ | |
| 41 | protected void setUp() throws Exception { | |
| 42 | 33 | super.setUp(); |
| 43 | 33 | } |
| 44 | ||
| 45 | /* | |
| 46 | * @see TestCase#tearDown() | |
| 47 | */ | |
| 48 | protected void tearDown() throws Exception { | |
| 49 | 33 | super.tearDown(); |
| 50 | 33 | } |
| 51 | ||
| 52 | /** | |
| 53 | * Constructor for TestQSOptProblemAsLPSolver. | |
| 54 | * @param name | |
| 55 | */ | |
| 56 | public TestSizableProblemIAsLPSolver(String name) { | |
| 57 | 33 | super(name); |
| 58 | 33 | } |
| 59 | ||
| 60 | protected LPSolver createEmptyLPProblem() { | |
| 61 | 33 | return new SizableProblemIAsLPSolver(); |
| 62 | } | |
| 63 | ||
| 64 | ||
| 65 | /* just a dummy such that eclipse automatically executes the tests | |
| 66 | * @see net.sourceforge.combean.test.mathprog.lp.AbstractTestLPSolver#testAddColumn() | |
| 67 | */ | |
| 68 | public void testAddColumn() { | |
| 69 | 3 | super.testAddColumn(); |
| 70 | 3 | } |
| 71 | } |