cc.mallet.classify.tests
Class TestNaiveBayes

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cc.mallet.classify.tests.TestNaiveBayes
All Implemented Interfaces:
junit.framework.Test

public class TestNaiveBayes
extends junit.framework.TestCase


Constructor Summary
TestNaiveBayes(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
 void testEmptyStringBug()
           
 void testIncrementallyTrained()
           
 void testIncrementallyTrainedGrowingAlphabets()
           
 void testNonTrained()
           
 void testRandomTrained()
           
 void testStringTrained()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestNaiveBayes

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

testNonTrained

public void testNonTrained()

testStringTrained

public void testStringTrained()

testRandomTrained

public void testRandomTrained()

testIncrementallyTrainedGrowingAlphabets

public void testIncrementallyTrainedGrowingAlphabets()

testIncrementallyTrained

public void testIncrementallyTrained()

testEmptyStringBug

public void testEmptyStringBug()

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

main

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