Package MAKBPInterpreter.logic.tests
Class TestNot
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- MAKBPInterpreter.logic.tests.TestNot
-
- All Implemented Interfaces:
junit.framework.Test
public class TestNot extends junit.framework.TestCaseTest class for theNotclass.
-
-
Constructor Summary
Constructors Constructor Description TestNot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructor()Tests theNot(Formula)constructor.voidtestContains()Tests theNot.contains(Formula)method.voidtestEquals()Tests theNot.equals(Object)method.voidtestEvaluate()Tests theNot.evaluate(MAKBPInterpreter.logic.LogicAssignment)method.voidtestGetNegation()Tests theNot.getNegation()method.voidtestGetOperand()Tests theNot.getOperand()method.voidtestSimplify()Tests theNot.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 theNot(Formula)constructor.
-
testGetOperand
public void testGetOperand()
Tests theNot.getOperand()method.
-
testEquals
public void testEquals()
Tests theNot.equals(Object)method.
-
testSimplify
public void testSimplify()
Tests theNot.simplify()method.
-
testGetNegation
public void testGetNegation()
Tests theNot.getNegation()method.
-
testContains
public void testContains()
Tests theNot.contains(Formula)method.
-
testEvaluate
public void testEvaluate()
Tests theNot.evaluate(MAKBPInterpreter.logic.LogicAssignment)method.
-
-