sugr.test
Class Motion_2DTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bysugr.test.Motion_2DTest
All Implemented Interfaces:
junit.framework.Test

public class Motion_2DTest
extends junit.framework.TestCase

Author:
Bastian Oehler

Constructor Summary
Motion_2DTest(java.lang.String arg0)
          Constructor for Motion_2DTest.
 
Method Summary
 void testGetDegreesOfFreedom()
          Test for int getDegreesOfFreedom()
 void testMotion_2D()
          Test for void Motion_2D()
 void testMotion_2DTranslation_2DRotation_2D()
          Test for void Motion_2D(Translation_2D, Rotation_2D) Note that the statistical simulation of a varying Rotation needs a lot of iterations to get close to the covariance calculated by SUGR.
 void testMotion_2DTranslation_2DRotation_2DMatrix()
          Test for void Motion_2D(Translation_2D, Rotation_2D, Matrix) no error propagation is tested, as covariance matrix is given
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Motion_2DTest

public Motion_2DTest(java.lang.String arg0)
Constructor for Motion_2DTest.

Parameters:
arg0 -
Method Detail

testGetDegreesOfFreedom

public void testGetDegreesOfFreedom()
Test for int getDegreesOfFreedom()


testMotion_2D

public void testMotion_2D()
Test for void Motion_2D()


testMotion_2DTranslation_2DRotation_2D

public void testMotion_2DTranslation_2DRotation_2D()
Test for void Motion_2D(Translation_2D, Rotation_2D) Note that the statistical simulation of a varying Rotation needs a lot of iterations to get close to the covariance calculated by SUGR. The accuracy is not very good.


testMotion_2DTranslation_2DRotation_2DMatrix

public void testMotion_2DTranslation_2DRotation_2DMatrix()
Test for void Motion_2D(Translation_2D, Rotation_2D, Matrix) no error propagation is tested, as covariance matrix is given