org.apache.commons.math.util
Class MathUtilsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.math.util.MathUtilsTest
- All Implemented Interfaces:
- junit.framework.Test
public final class MathUtilsTest
- extends junit.framework.TestCase
Test cases for the MathUtils class.
- Version:
- $Revision: 619980 $ $Date: 2007-08-16 15:36:33 -0500 (Thu, 16 Aug
2007) $
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MathUtilsTest
public MathUtilsTest(java.lang.String name)
suite
public static junit.framework.Test suite()
test0Choose0
public void test0Choose0()
- Verify that b(0,0) = 1
testAddAndCheck
public void testAddAndCheck()
testAddAndCheckLong
public void testAddAndCheckLong()
testBinomialCoefficient
public void testBinomialCoefficient()
testBinomialCoefficientFail
public void testBinomialCoefficientFail()
testCosh
public void testCosh()
testCoshNaN
public void testCoshNaN()
testEquals
public void testEquals()
testArrayEquals
public void testArrayEquals()
testFactorial
public void testFactorial()
testFactorialFail
public void testFactorialFail()
testGcd
public void testGcd()
testHash
public void testHash()
testArrayHash
public void testArrayHash()
testIndicatorByte
public void testIndicatorByte()
testIndicatorDouble
public void testIndicatorDouble()
testIndicatorFloat
public void testIndicatorFloat()
testIndicatorInt
public void testIndicatorInt()
testIndicatorLong
public void testIndicatorLong()
testIndicatorShort
public void testIndicatorShort()
testLcm
public void testLcm()
testLog
public void testLog()
testMulAndCheck
public void testMulAndCheck()
testMulAndCheckLong
public void testMulAndCheckLong()
testNextAfter
public void testNextAfter()
testNextAfterSpecialCases
public void testNextAfterSpecialCases()
testNormalizeAngle
public void testNormalizeAngle()
testRoundDouble
public void testRoundDouble()
testRoundFloat
public void testRoundFloat()
testSignByte
public void testSignByte()
testSignDouble
public void testSignDouble()
testSignFloat
public void testSignFloat()
testSignInt
public void testSignInt()
testSignLong
public void testSignLong()
testSignShort
public void testSignShort()
testSinh
public void testSinh()
testSinhNaN
public void testSinhNaN()
testSubAndCheck
public void testSubAndCheck()
testSubAndCheckErrorMessage
public void testSubAndCheckErrorMessage()
testSubAndCheckLong
public void testSubAndCheckLong()
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.