|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.math.analysis.SimpsonIntegratorTest
public final class SimpsonIntegratorTest
Testcase for Simpson integrator.
Test runs show that for a default relative accuracy of 1E-6, it generally takes 5 to 10 iterations for the integral to converge.
| Constructor Summary | |
|---|---|
SimpsonIntegratorTest()
|
|
| Method Summary | |
|---|---|
void |
testParameters()
Test of parameters for the integrator. |
void |
testQuinticFunction()
Test of integrator for the quintic function. |
void |
testSinFunction()
Test of integrator for the sine function. |
| 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 |
| Constructor Detail |
|---|
public SimpsonIntegratorTest()
| Method Detail |
|---|
public void testSinFunction()
throws org.apache.commons.math.MathException
org.apache.commons.math.MathException
public void testQuinticFunction()
throws org.apache.commons.math.MathException
org.apache.commons.math.MathException
public void testParameters()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||