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.TestCase
Test class for theNot
class.
-
-
Constructor Summary
Constructors Constructor Description TestNot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testConstructor()
Tests theNot(Formula)
constructor.void
testContains()
Tests theNot.contains(Formula)
method.void
testEquals()
Tests theNot.equals(Object)
method.void
testEvaluate()
Tests theNot.evaluate(MAKBPInterpreter.logic.LogicAssignment)
method.void
testGetNegation()
Tests theNot.getNegation()
method.void
testGetOperand()
Tests theNot.getOperand()
method.void
testSimplify()
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.
-
-