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