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.TestCaseTest class for theEquivalenceclass.
-
-
Constructor Summary
Constructors Constructor Description TestEquivalence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructor()Tests theEquivalence(Formula, Formula)constructor.voidtestContains()Tests theEquivalence.contains(Formula)method.voidtestEquals()Tests theEquivalence.equals(Object)method.voidtestEvaluate()Tests theEquivalence.evaluate(MAKBPInterpreter.logic.LogicAssignment)method.voidtestGetLeftOperand()Tests theEquivalence.getLeftOperand()method.voidtestGetNegation()Tests theEquivalence.getNegation()method.voidtestGetRightOperand()Tests theEquivalence.getRightOperand()method.voidtestSimplify()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.
-
-