struct.tests
Class TestClassification

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by struct.tests.TestClassification
All Implemented Interfaces:
junit.framework.Test

public class TestClassification
extends junit.framework.TestCase


Constructor Summary
TestClassification(java.lang.String name)
           
 
Method Summary
private static edu.umass.cs.mallet.base.types.Alphabet dictOfSize(int size)
           
private  void expandDict(edu.umass.cs.mallet.base.types.Alphabet fd, int size)
           
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testNewFeatures()
           
 void testRandomTrained()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestClassification

public TestClassification(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

dictOfSize

private static edu.umass.cs.mallet.base.types.Alphabet dictOfSize(int size)

testRandomTrained

public void testRandomTrained()

testNewFeatures

public void testNewFeatures()

expandDict

private void expandDict(edu.umass.cs.mallet.base.types.Alphabet fd,
                        int size)


Copyright (C) 2006 University of Pennsylvania.