Package nltk_lite :: Module featurestructure :: Class FeatureStructureTestCase
[hide private]
[frames] | no frames]

Class FeatureStructureTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   FeatureStructureTestCase

Unit testing for FeatureStructure

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
testUnification(self)
Basic unification tests
source code
 
testReentrantUnification(self)
Reentrant unification tests
source code
 
testVariableForwarding(self)
Bound variables should get forwarded appropriately
source code
 
testCyclicStructures(self)
Cyclic structure tests
source code
 
testVariablesPreserveReentrance(self)
Variable bindings should preserve reentrance.
source code
 
testVariableMerging(self)
Aliased variable tests
source code

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, setUp, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

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

Properties [hide private]

Inherited from object: __class__