|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
sugr.test.RelationTest
Test for Relation.
Constructor Summary | |
RelationTest()
|
Method Summary | |
boolean |
helpTests(Entity first,
Entity second,
java.lang.Class relation,
int start,
TestTools.ProgressMonitorWithTaskbar pm,
java.lang.String name)
|
void |
testDecision()
Test for decision. |
void |
testGetAlpha()
getter for alpha, used in Relation |
void |
testGetChiSquareDistributionValue()
Test for getChiSquareDistributionValue() tests alpha of 95, 99, and 90 for all used dof's Differences to Matlab: all getting better from dof1 to dof4 for alpha = 0.95 dof1 differs 0.09, dof4 only 0.02 for alpha = 0.90 dof1 differs 0.06, dof4 0.03 for alpha = 0.99 dof1 differs 0.04, dof2 0.01, dof2 and dof3 0.02 |
void |
testGetCondition()
getter for condition flag |
void |
testGetD()
gets D. |
void |
testGetSigma()
gets sigma_dd, calculated in constructor |
void |
testRelationBiRelationalPropertyEntity()
Test for Relation(BiRelationalProperty, Entity) mostly the same as above, but relationalproperty is constructed before relation. |
void |
testRelationBiRelationalPropertyEntityboolean()
Test for Relation(BiRelationalProperty, Entity, boolean) Same as above, but condition is controlled explicitly here. |
void |
testRelationEntityEntityClass()
Test for Relation(Entity, Entity, Class) Tests only for one example. |
void |
testRelationEntityEntityClassboolean()
Test for Relation(Entity, Entity, Class, boolean) mostly the same thing as above, but conditioning is switched on. |
void |
testSetAlpha()
setter for alpha. |
void |
testSetCondition()
recalculates the test! |
void |
testTests()
Tests if tests are calculated correctly. |
void |
testTestThreshold()
gets the test threshold, that is chi˛ |
void |
testTestValue()
Test for testValue() This returns t. |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RelationTest()
Method Detail |
public void testRelationEntityEntityClass()
public void testRelationEntityEntityClassboolean()
public void testRelationBiRelationalPropertyEntity()
public void testRelationBiRelationalPropertyEntityboolean()
public void testDecision()
public void testTestValue()
public void testGetChiSquareDistributionValue()
public void testGetAlpha()
public void testSetAlpha()
public void testSetCondition()
public void testGetCondition()
public void testTestThreshold()
public void testGetD()
public void testGetSigma()
public void testTests()
public boolean helpTests(Entity first, Entity second, java.lang.Class relation, int start, TestTools.ProgressMonitorWithTaskbar pm, java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |