1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
package org.sat4j.minisat.constraints; |
8 |
|
|
9 |
|
import java.io.FileNotFoundException; |
10 |
|
import java.io.IOException; |
11 |
|
|
12 |
|
import org.sat4j.reader.ParseFormatException; |
13 |
|
|
14 |
|
|
15 |
|
@author |
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (38) |
Complexity: 1 |
Complexity Density: 1 |
|
20 |
|
public abstract class AbstractRandomCardProblemsTest extends |
21 |
|
AbstractPigeonHoleWithCardinalityTest { |
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
26 |
192
|
public AbstractRandomCardProblemsTest(String name) {... |
27 |
192
|
super(name); |
28 |
|
} |
29 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
30 |
6
|
public void testRndDeg1() throws FileNotFoundException, IOException,... |
31 |
|
ParseFormatException { |
32 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg1.opb")); |
33 |
|
} |
34 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
35 |
6
|
public void testRndDeg2() throws FileNotFoundException, IOException,... |
36 |
|
ParseFormatException { |
37 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg2.opb")); |
38 |
|
} |
39 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
40 |
6
|
public void testRndDeg3() throws FileNotFoundException, IOException,... |
41 |
|
ParseFormatException { |
42 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg3.opb")); |
43 |
|
} |
44 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
45 |
6
|
public void testRndDeg4() throws FileNotFoundException, IOException,... |
46 |
|
ParseFormatException { |
47 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg4.opb")); |
48 |
|
} |
49 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
50 |
6
|
public void testRndDeg5() throws FileNotFoundException, IOException,... |
51 |
|
ParseFormatException { |
52 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg5.opb")); |
53 |
|
} |
54 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
55 |
6
|
public void testRndDeg6() throws FileNotFoundException, IOException,... |
56 |
|
ParseFormatException { |
57 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg6.opb")); |
58 |
|
} |
59 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
60 |
6
|
public void testRndDeg7() throws FileNotFoundException, IOException,... |
61 |
|
ParseFormatException { |
62 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg7.opb")); |
63 |
|
} |
64 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
65 |
6
|
public void testRndDeg8() throws FileNotFoundException, IOException,... |
66 |
|
ParseFormatException { |
67 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg8.opb")); |
68 |
|
} |
69 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
70 |
6
|
public void testRndDeg9() throws FileNotFoundException, IOException,... |
71 |
|
ParseFormatException { |
72 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg9.opb")); |
73 |
|
} |
74 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
75 |
6
|
public void testRndDeg10() throws FileNotFoundException, IOException,... |
76 |
|
ParseFormatException { |
77 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg10.opb")); |
78 |
|
} |
79 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
80 |
6
|
public void testRndDeg11() throws FileNotFoundException, IOException,... |
81 |
|
ParseFormatException { |
82 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg11.opb")); |
83 |
|
} |
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
85 |
6
|
public void testRndDeg12() throws FileNotFoundException, IOException,... |
86 |
|
ParseFormatException { |
87 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg12.opb")); |
88 |
|
} |
89 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
90 |
6
|
public void testRndDeg13() throws FileNotFoundException, IOException,... |
91 |
|
ParseFormatException { |
92 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg13.opb")); |
93 |
|
} |
94 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
95 |
6
|
public void testRndDeg14() throws FileNotFoundException, IOException,... |
96 |
|
ParseFormatException { |
97 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg14.opb")); |
98 |
|
} |
99 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
100 |
6
|
public void testRndDeg15() throws FileNotFoundException, IOException,... |
101 |
|
ParseFormatException { |
102 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg15.opb")); |
103 |
|
} |
104 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
105 |
6
|
public void testRndDeg16() throws FileNotFoundException, IOException,... |
106 |
|
ParseFormatException { |
107 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg16.opb")); |
108 |
|
} |
109 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
110 |
6
|
public void testRndDeg17() throws FileNotFoundException, IOException,... |
111 |
|
ParseFormatException { |
112 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg17.opb")); |
113 |
|
} |
114 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1
PASS
|
|
115 |
6
|
public void testRndDeg18() throws FileNotFoundException, IOException,... |
116 |
|
ParseFormatException { |
117 |
6
|
assertFalse(solveInstance(PREFIX + "random-opb/rnddeg18.opb")); |
118 |
|
} |
119 |
|
|
120 |
|
} |