us.ihmc.utilities.math
Class MathToolsTest

java.lang.Object
  extended by us.ihmc.utilities.math.MathToolsTest

public class MathToolsTest
extends java.lang.Object


Constructor Summary
MathToolsTest()
           
 
Method Summary
 void cubeTest()
           
 void dotPlusTest()
           
 void setUp()
           
 void signTest()
           
 void squareTest()
           
 void sumDoublesTest()
           
 void sumIntegerTest()
           
 void tearDown()
           
 void testCheckIfInRangeFalse()
           
 void testCheckIfInRangeTrue()
           
 void testCheckIsEqual()
           
 void testCheckIsEqualDouble()
           
 void testCheckIsEqualInt()
           
 void testCheckIsEqualNaN()
           
 void testClipToMinMax()
           
 void testClipToMinMaxNaN()
           
 void testClipToMinMaxWrongBounds()
           
 void testConstructor()
           
 void testDiff()
           
 void testDiffFrameVector()
           
 void testDiffFrameVectorDifferentFrames()
           
 void testEpsilonEquals()
           
 void testGenerateRandomDoubleInRange()
           
 void testIsGreaterThan()
           
 void testIsGreaterThanOrEqualTo()
           
 void testIsInsideBounds()
           
 void testIsInsideBoundsInclusive()
           
 void testIsInsideBoundsWrongBounds()
           
 void testIsInsideBoundsWrongBoundsInclusive()
           
 void testIsLessThan()
           
 void testIsLessThanOrEqualTo()
           
 void testMax()
           
 void testMeanArray()
           
 void testMeanArrayList()
           
 void testMin()
           
 void testPercentEquals()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathToolsTest

public MathToolsTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

testConstructor

public void testConstructor()
                     throws java.lang.NoSuchMethodException,
                            java.lang.SecurityException,
                            java.lang.InstantiationException,
                            java.lang.IllegalAccessException,
                            java.lang.IllegalArgumentException,
                            java.lang.reflect.InvocationTargetException
Throws:
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException

testClipToMinMaxWrongBounds

public void testClipToMinMaxWrongBounds()

testClipToMinMaxNaN

public void testClipToMinMaxNaN()

testClipToMinMax

public void testClipToMinMax()

squareTest

public void squareTest()

cubeTest

public void cubeTest()

signTest

public void signTest()

sumDoublesTest

public void sumDoublesTest()

sumIntegerTest

public void sumIntegerTest()

dotPlusTest

public void dotPlusTest()

testIsInsideBounds

public void testIsInsideBounds()

testIsInsideBoundsWrongBounds

public void testIsInsideBoundsWrongBounds()

testIsInsideBoundsInclusive

public void testIsInsideBoundsInclusive()

testIsInsideBoundsWrongBoundsInclusive

public void testIsInsideBoundsWrongBoundsInclusive()

testMin

public void testMin()

testMax

public void testMax()

testMeanArray

public void testMeanArray()

testMeanArrayList

public void testMeanArrayList()

testCheckIfInRangeFalse

public void testCheckIfInRangeFalse()

testCheckIfInRangeTrue

public void testCheckIfInRangeTrue()

testDiff

public void testDiff()

testEpsilonEquals

public void testEpsilonEquals()

testPercentEquals

public void testPercentEquals()

testGenerateRandomDoubleInRange

public void testGenerateRandomDoubleInRange()

testDiffFrameVector

public void testDiffFrameVector()

testDiffFrameVectorDifferentFrames

public void testDiffFrameVectorDifferentFrames()

testCheckIsEqual

public void testCheckIsEqual()

testCheckIsEqualNaN

public void testCheckIsEqualNaN()

testCheckIsEqualInt

public void testCheckIsEqualInt()

testIsGreaterThan

public void testIsGreaterThan()

testIsGreaterThanOrEqualTo

public void testIsGreaterThanOrEqualTo()

testIsLessThan

public void testIsLessThan()

testIsLessThanOrEqualTo

public void testIsLessThanOrEqualTo()

testCheckIsEqualDouble

public void testCheckIsEqualDouble()