Package teamwork :: Package test :: Package math :: Module testKeyedTree :: Class TestKeyedTree
[hide private]
[frames] | no frames]

Class TestKeyedTree

source code

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

TestCase for teamwork.math.KeyedTree class

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
testXML(self) source code
 
testCopy(self) source code
 
testTest(self) source code
 
testMultiply(self) source code
 
DONTtestRebalance(self) source code

Inherited from testPWL.TestPWL: setUp, 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]
  filename = '/tmp/keyedtree.prof'
name of temporary file to store profiling data
int iterations = 10
the number of times to repeat each test
int horizon = 4
the number of steps to consider in a projection
str[] features = ['strength', 'dexterity', 'constitution', 'intellig...
a list of state features to use as test case
str[] agents = ['warrior', 'wizard', 'cleric', 'thief']
a list of entity names to use as test cases

Inherited from testPWL.TestPWL: precision

Properties [hide private]

Inherited from object: __class__

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']