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.TestCase
Test class for theOr
class.
-
-
Constructor Summary
Constructors Constructor Description TestOr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testConstructors()
Tests theOr(Formula...)
andOr(java.util.Collection)
constructors.void
testContains()
Tests theOr.contains(Formula)
method.void
testEquals()
Tests theOr.equals(Object)
method.void
testEvaluate()
Tests theOr.evaluate(MAKBPInterpreter.logic.LogicAssignment)
method.void
testGetNegation()
Tests theOr.getNegation()
method.void
testGetOperands()
Tests theOr.getOperands()
method.void
testSimplify()
Tests theOr.simplify()
method.void
testSimplify2()
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.
-
-