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