-
Notifications
You must be signed in to change notification settings - Fork 1
/
ExclusionTestCases.java
68 lines (56 loc) · 1.81 KB
/
ExclusionTestCases.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Calculus;
import org.apache.log4j.Logger;
/**
*
* @author Administrator
*/
public class ExclusionTestCases {
public static Logger log = Logger.getLogger(ExclusionTestCases.class.getName());
public static boolean IntegralGapInfinity(int j) {
// //Infinite Loops
if ((j == 1005)) {
return true;
} else if ((j == 80016) || (j == 80031)) {
return true;
}
return false;
}
public static boolean DifferentialGapInfinity(int j) {
// //Infinite Loops
if ((j == 80014) || (j == 80062)) {
return true;
}
return false;
}
public static boolean IntegralGapException(int j) {
// //Exception
if ((j == 40046) || (j == 40047) || (j == 40048) || (j == 40049)) {
return true;
}
return false;
}
public static boolean DifferentialGapException(int j) {
// //Exception Loops
if ((j == 40046) || (j == 40047) || (j == 40048) || (j == 40049)) {
return true;
}
return false;
}
public static boolean IntegralGapWrongAnswer(int j) {
//Exclude the wrong Answer Test Cases from the Reporting
//Test Cases will however be executed
// Return False to exclude from reporting
return false;
}
public static boolean DifferentialGapWrongAnswer(int j) {
//Exclude the wrong Answer Test Cases from the Reporting
//Test Cases will however be executed
// Return False to exclude from reporting
return false;
}
}