import java.util.ArrayList;
import java.util.List;
-
/**
* Tests the Or Condition.
- *
+ *
* @author Erik Brakkee
*/
public class OrConditionTest extends TestCase {
public void checkResult(boolean aFirst, boolean aSecond, boolean aResult) {
- OrCondition<Integer> or = new OrCondition<Integer>(new FixedCondition<Integer>(
- aFirst), new FixedCondition<Integer>(aSecond));
+ OrCondition<Integer> or = new OrCondition<Integer>(
+ new FixedCondition<Integer>(aFirst), new FixedCondition<Integer>(
+ aSecond));
assertEquals(aResult, or.matches(0));
}
/**
* Checks all combinations of two conditions.
- *
+ *
*/
public void testTwoConditions() {
checkResult(false, false, false);