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