Package MAKBPInterpreter.logic.tests
Class TestEquivalence
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- MAKBPInterpreter.logic.tests.TestEquivalence
-
- All Implemented Interfaces:
junit.framework.Test
public class TestEquivalence extends junit.framework.TestCase
Test class for theEquivalence
class.
-
-
Constructor Summary
Constructors Constructor Description TestEquivalence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testConstructor()
Tests theEquivalence(Formula, Formula)
constructor.void
testContains()
Tests theEquivalence.contains(Formula)
method.void
testEquals()
Tests theEquivalence.equals(Object)
method.void
testEvaluate()
Tests theEquivalence.evaluate(MAKBPInterpreter.logic.LogicAssignment)
method.void
testGetLeftOperand()
Tests theEquivalence.getLeftOperand()
method.void
testGetNegation()
Tests theEquivalence.getNegation()
method.void
testGetRightOperand()
Tests theEquivalence.getRightOperand()
method.void
testSimplify()
Tests theEquivalence.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
-
testConstructor
public void testConstructor()
Tests theEquivalence(Formula, Formula)
constructor.
-
testGetLeftOperand
public void testGetLeftOperand()
Tests theEquivalence.getLeftOperand()
method.
-
testGetRightOperand
public void testGetRightOperand()
Tests theEquivalence.getRightOperand()
method.
-
testEquals
public void testEquals()
Tests theEquivalence.equals(Object)
method.
-
testSimplify
public void testSimplify()
Tests theEquivalence.simplify()
method.
-
testGetNegation
public void testGetNegation()
Tests theEquivalence.getNegation()
method.
-
testContains
public void testContains()
Tests theEquivalence.contains(Formula)
method.
-
testEvaluate
public void testEvaluate()
Tests theEquivalence.evaluate(MAKBPInterpreter.logic.LogicAssignment)
method.
-
-