Package MAKBPInterpreter.logic.tests
Class TestOr
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- MAKBPInterpreter.logic.tests.TestOr
-
- All Implemented Interfaces:
junit.framework.Test
public class TestOr extends junit.framework.TestCaseTest class for theOrclass.
-
-
Constructor Summary
Constructors Constructor Description TestOr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructors()Tests theOr(Formula...)andOr(java.util.Collection)constructors.voidtestContains()Tests theOr.contains(Formula)method.voidtestEquals()Tests theOr.equals(Object)method.voidtestEvaluate()Tests theOr.evaluate(MAKBPInterpreter.logic.LogicAssignment)method.voidtestGetNegation()Tests theOr.getNegation()method.voidtestGetOperands()Tests theOr.getOperands()method.voidtestSimplify()Tests theOr.simplify()method.voidtestSimplify2()Tests theOr.simplify()method.-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testConstructors
public void testConstructors()
Tests theOr(Formula...)andOr(java.util.Collection)constructors.
-
testGetOperands
public void testGetOperands()
Tests theOr.getOperands()method.
-
testEquals
public void testEquals()
Tests theOr.equals(Object)method.
-
testSimplify
public void testSimplify()
Tests theOr.simplify()method.
-
testSimplify2
public void testSimplify2()
Tests theOr.simplify()method. Specialized when we have another "Or" formula inside the current "Or".
-
testGetNegation
public void testGetNegation()
Tests theOr.getNegation()method.
-
testContains
public void testContains()
Tests theOr.contains(Formula)method.
-
testEvaluate
public void testEvaluate()
Tests theOr.evaluate(MAKBPInterpreter.logic.LogicAssignment)method.
-
-