org.apache.commons.math.analysis.solvers
Class UnivariateRealSolverUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.analysis.solvers.UnivariateRealSolverUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class UnivariateRealSolverUtilsTest
extends junit.framework.TestCase

Version:
$Revision: 799857 $ $Date: 2009-08-01 09:07:12 -0400 (Sat, 01 Aug 2009) $

Field Summary
protected  org.apache.commons.math.analysis.UnivariateRealFunction sin
           
 
Constructor Summary
UnivariateRealSolverUtilsTest()
           
 
Method Summary
 void testBadParameters()
           
 void testBracketEndpointRoot()
           
 void testBracketSin()
           
 void testSolveAccuracyNull()
           
 void testSolveAccuracySin()
           
 void testSolveBadParameters()
           
 void testSolveNoRoot()
           
 void testSolveNull()
           
 void testSolveSin()
           
 
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
 

Field Detail

sin

protected org.apache.commons.math.analysis.UnivariateRealFunction sin
Constructor Detail

UnivariateRealSolverUtilsTest

public UnivariateRealSolverUtilsTest()
Method Detail

testSolveNull

public void testSolveNull()
                   throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testSolveBadParameters

public void testSolveBadParameters()
                            throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testSolveSin

public void testSolveSin()
                  throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testSolveAccuracyNull

public void testSolveAccuracyNull()
                           throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testSolveAccuracySin

public void testSolveAccuracySin()
                          throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testSolveNoRoot

public void testSolveNoRoot()
                     throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testBracketSin

public void testBracketSin()
                    throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testBracketEndpointRoot

public void testBracketEndpointRoot()
                             throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException

testBadParameters

public void testBadParameters()
                       throws org.apache.commons.math.MathException
Throws:
org.apache.commons.math.MathException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.