us.ihmc.utilities.math
Class TestMathTools

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by us.ihmc.utilities.math.TestMathTools
All Implemented Interfaces:
junit.framework.Test

public class TestMathTools
extends junit.framework.TestCase

Title: MathTools Tester

Description: Tests methods in MathTools class

Copyright: Copyright (c) 2006

Company: IHMC

Version:
1.0
Author:
not attributable

Constructor Summary
TestMathTools(java.lang.String name)
           
 
Method Summary
 void testArePointsInOrderColinear()
           
 void testClipToMinMax()
           
 void testComputeAngleDifferenceMinusPiToPi()
           
 void testDiff()
           
 void testDotPlus()
           
 void testDotPlus1()
           
 void testEpsilonEquals()
           
 void testFindClosestNinetyDegreeYaw()
           
 void testFindZeroCrossing()
           
 void testGenerateRandomAngle()
           
 void testGenerateRandomDoubleInRange()
           
 void testGenerateRandomPoint3d()
           
 void testGetReversedArrayList()
           
 void testIsInsideBounds()
           
 void testMax()
           
 void testMean()
           
 void testMin()
           
 void testPercentEquals()
           
 void testShiftAngleToStartOfRange()
           
 void testSumArray1()
           
 void testSumArray2()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestMathTools

public TestMathTools(java.lang.String name)
Method Detail

testArePointsInOrderColinear

public void testArePointsInOrderColinear()

testClipToMinMax

public void testClipToMinMax()

testComputeAngleDifferenceMinusPiToPi

public void testComputeAngleDifferenceMinusPiToPi()

testDiff

public void testDiff()

testDotPlus

public void testDotPlus()

testDotPlus1

public void testDotPlus1()

testEpsilonEquals

public void testEpsilonEquals()

testPercentEquals

public void testPercentEquals()

testFindClosestNinetyDegreeYaw

public void testFindClosestNinetyDegreeYaw()

testFindZeroCrossing

public void testFindZeroCrossing()

testGenerateRandomAngle

public void testGenerateRandomAngle()

testGenerateRandomDoubleInRange

public void testGenerateRandomDoubleInRange()

testGenerateRandomPoint3d

public void testGenerateRandomPoint3d()

testGetReversedArrayList

public void testGetReversedArrayList()

testIsInsideBounds

public void testIsInsideBounds()

testMax

public void testMax()

testMean

public void testMean()

testMin

public void testMin()

testShiftAngleToStartOfRange

public void testShiftAngleToStartOfRange()

testSumArray2

public void testSumArray2()

testSumArray1

public void testSumArray1()