Package cc.mallet.util.tests
Class TestMaths
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- 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
Constructors Constructor Description TestMaths(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
-
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
-
-