cc.mallet.util.tests
Class TestMaths

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

public class TestMaths
extends junit.framework.TestCase

Created: Oct 31, 2004

Version:
$Id: TestMaths.java,v 1.1 2007/10/22 21:37:57 mccallum Exp $
Author:
Constructor Summary
TestMaths(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testLogBinom()
           
 void testPbinom()
           
 void testSubtractLogProb()
           
 void testSumLogProb()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TestMaths

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

testLogBinom

public void testLogBinom()

testPbinom

public void testPbinom()

testSumLogProb

public void testSumLogProb()

testSubtractLogProb

public void testSubtractLogProb()

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Throws:
java.lang.Throwable