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.TestCaseTest class for theAtomclass.
-
-
Constructor Summary
Constructors Constructor Description TestAtom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructor()Tests theAtom(String)constructor.voidtestContains()Tests theAtom.contains(Formula)method.voidtestEquals()Tests theAtom.equals(Object)method.voidtestEvaluate()Tests theAtom.evaluate(MAKBPInterpreter.logic.LogicAssignment)method.voidtestGetNegation()Tests theAtom.getNegation()method.voidtestSimplify()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.
-
-