Package teamwork :: Package test :: Package math :: Module testKeyedPlane :: Class TestKeyedPlane
[hide private]
[frames] | no frames]

Class TestKeyedPlane

source code

       object --+        
                |        
unittest.TestCase --+    
                    |    
      testPWL.TestPWL --+
                        |
                       TestKeyedPlane

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
testAlways(self) source code
 
testComparison(self) source code
 
testXML(self) source code
 
testInstantiate(self) source code
 
testRelationshipRow(self) source code
 
testORPlane(self) source code
 
testANDPlane(self) source code

Inherited from testPWL.TestPWL: verifyMatrix, verifyPlane, verifyTree, verifyVector

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
int iterations = 100
the number of times to repeat each test
int maxReps = 1000
maximum number of random instances to test ambiguous cases
str[] features = ['strength', 'dexterity', 'constitution', 'intellig...
a list of state features to use as test case
str[] agents = ['warrior', 'wizard']
a list of entity names to use as test cases

Inherited from testPWL.TestPWL: precision

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

Class Variable Details [hide private]

features

a list of state features to use as test case
Type:
str[]
Value:
['strength',
 'dexterity',
 'constitution',
 'intelligence',
 'charisma',
 'wisdom']