Class BooleanExpressions
java.lang.Object
integration.tests.BooleanExpressions
The Class BooleanExpressions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaneval1(boolean x, boolean y, int z) Eval 1.booleaneval2(boolean x, boolean y, int z) Eval 2.booleaneval3(boolean x, boolean y, boolean z) Eval 3.booleaneval4(boolean x, boolean y, boolean z) Eval 4.booleaneval5(boolean a, boolean b, boolean c) Eval 5.booleanmethodWithTooManyConditionsForPathAnalysis(int i, int j, boolean b) Method with too many conditions for path analysis.booleanreturnsNegatedInput(boolean b) Returns negated input.booleanreturnsNegatedInputFromLocalVariable(boolean b) Returns negated input from local variable.booleanreturnsResultPreviouslyComputedFromInput(boolean b, int i) Returns result previously computed from input.booleanreturnsTrivialResultFromInputAfterIfElse(boolean b, int i) Returns trivial result from input after if else.booleansimplyReturnsInput(boolean b) Simply returns input.
-
Constructor Details
-
BooleanExpressions
public BooleanExpressions()
-
-
Method Details
-
eval1
public boolean eval1(boolean x, boolean y, int z) Eval 1.- Parameters:
x- the xy- the yz- the z- Returns:
- true, if successful
-
eval2
public boolean eval2(boolean x, boolean y, int z) Eval 2.- Parameters:
x- the xy- the yz- the z- Returns:
- true, if successful
-
eval3
public boolean eval3(boolean x, boolean y, boolean z) Eval 3.- Parameters:
x- the xy- the yz- the z- Returns:
- true, if successful
-
eval4
public boolean eval4(boolean x, boolean y, boolean z) Eval 4.- Parameters:
x- the xy- the yz- the z- Returns:
- true, if successful
-
eval5
public boolean eval5(boolean a, boolean b, boolean c) Eval 5.- Parameters:
a- the ab- the bc- the c- Returns:
- true, if successful
-
simplyReturnsInput
public boolean simplyReturnsInput(boolean b) Simply returns input.- Parameters:
b- the b- Returns:
- true, if successful
-
returnsNegatedInput
public boolean returnsNegatedInput(boolean b) Returns negated input.- Parameters:
b- the b- Returns:
- true, if successful
-
returnsTrivialResultFromInputAfterIfElse
public boolean returnsTrivialResultFromInputAfterIfElse(boolean b, int i) Returns trivial result from input after if else.- Parameters:
b- the bi- the i- Returns:
- true, if successful
-
returnsResultPreviouslyComputedFromInput
public boolean returnsResultPreviouslyComputedFromInput(boolean b, int i) Returns result previously computed from input.- Parameters:
b- the bi- the i- Returns:
- true, if successful
-
methodWithTooManyConditionsForPathAnalysis
public boolean methodWithTooManyConditionsForPathAnalysis(int i, int j, boolean b) Method with too many conditions for path analysis.- Parameters:
i- the ij- the jb- the b- Returns:
- true, if successful
-
returnsNegatedInputFromLocalVariable
public boolean returnsNegatedInputFromLocalVariable(boolean b) Returns negated input from local variable.- Parameters:
b- the b- Returns:
- true, if successful
-