calhoun.analysis.crf.test
Class CacheProcessorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by calhoun.util.AbstractTestCase
              extended by calhoun.analysis.crf.test.CacheProcessorTest
All Implemented Interfaces:
junit.framework.Test

public class CacheProcessorTest
extends AbstractTestCase


Constructor Summary
CacheProcessorTest()
           
 
Method Summary
 void testAllSparseRejectTrainingDataStatesTooShort()
           
 void testCPDAllDiscardInvalid()
           
 void testCPDAllDiscardInvalidLocalScore()
           
 void testCPDAllSequencesInvalid()
           
 void testCPDRejectTrainingDataStatesTooLong()
           
 void testCPDRejectTrainingDataStatesTooShort()
           
 void testCPDRejectTrainingDataStatesTooShortEnd()
           
 void testCPDRejectTrainingDataStatesTooShortStart()
           
 void testCPDRejectTrainingDataStatesViolatesConstraints()
           
 void testEdgeShort()
           
 void testEdgeTrivial()
           
 void testLengthCache()
           
 void testLengthCacheDummy()
           
 void testNode()
           
 void testTwoFeaturesNonTrivial()
           
 void testTwoFeaturesTrivial()
           
 
Methods inherited from class calhoun.util.AbstractTestCase
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertBeginsWith, assertEndsWith, assertEquals, assertFilesMatch, assertFlatFileRecordsMatch, assertStringEquals, assertStringEquals, assertXmlFilesMatch, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, 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

CacheProcessorTest

public CacheProcessorTest()
Method Detail

testCPDRejectTrainingDataStatesTooLong

public void testCPDRejectTrainingDataStatesTooLong()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testCPDRejectTrainingDataStatesTooShort

public void testCPDRejectTrainingDataStatesTooShort()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testAllSparseRejectTrainingDataStatesTooShort

public void testAllSparseRejectTrainingDataStatesTooShort()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testCPDRejectTrainingDataStatesTooShortStart

public void testCPDRejectTrainingDataStatesTooShortStart()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCPDRejectTrainingDataStatesTooShortEnd

public void testCPDRejectTrainingDataStatesTooShortEnd()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testCPDRejectTrainingDataStatesViolatesConstraints

public void testCPDRejectTrainingDataStatesViolatesConstraints()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testCPDAllSequencesInvalid

public void testCPDAllSequencesInvalid()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testCPDAllDiscardInvalid

public void testCPDAllDiscardInvalid()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testCPDAllDiscardInvalidLocalScore

public void testCPDAllDiscardInvalidLocalScore()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testEdgeTrivial

public void testEdgeTrivial()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testEdgeShort

public void testEdgeShort()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testNode

public void testNode()
              throws java.lang.Exception
Throws:
java.lang.Exception

testTwoFeaturesTrivial

public void testTwoFeaturesTrivial()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testTwoFeaturesNonTrivial

public void testTwoFeaturesNonTrivial()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testLengthCacheDummy

public void testLengthCacheDummy()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testLengthCache

public void testLengthCache()
                     throws java.lang.Exception
Throws:
java.lang.Exception