checkConformance(n, m, result);
}
- @Test(timeout = 2000)
+ @Test(timeout = 10000)
public void testExample() {
int n = 5, m = 4;
int[][] compatibility = {
Assert.assertEquals("Does not give a correct answer", 4, computeCompatibility(compatibility, result));
}
- @Test(timeout = 2000)
+ @Test(timeout = 10000)
public void testGeneratedSmall() {
performGeneratedTest(8, 10);
performGeneratedTest(10, 8);
}
- @Test(timeout = 2000)
+ @Test(timeout = 10000)
public void testGeneratedMedium() {
performGeneratedTest(23, 20);
performGeneratedTest(20, 23);
}
- @Test(timeout = 5000)
+ @Test(timeout = 10000)
public void testGeneratedLarge() {
performGeneratedTest(121, 130);
performGeneratedTest(130, 121);
* your solution is not incorrect if it takes longer,
* or if it is not capable to finish in a reasonable amount of time.
*/
- @Test(timeout = 5000)
+ @Test(timeout = 10000)
public void testGeneratedTerrible() {
performGeneratedTest(2910, 3102);
performGeneratedTest(3102, 2910);