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