|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
sugr.test.Line_3DTest
Tests for class Line_3D. Most important are the constructors which construct a plane out of other entities. Uses: TestStatistics.class and TestTools.class.
Field Summary | |
static int |
MAXITER
int MAXITER determines how many iterations there are for calculation of the statstic parts. |
Constructor Summary | |
Line_3DTest(java.lang.String arg0)
Constructor for Line_3DTest. |
Method Summary | |
boolean |
helpLine_3DPlane_3DPlane_3DStatistics(Plane_3D plane1,
Plane_3D plane2,
double sigma)
Method to test the statistic reasoning of a line out two uncertain planes. |
boolean |
helpLine_3DPoint_3DPoint_3DStatistics(Point_3D point1,
Point_3D point2,
double sigma)
Method to test the statistic reasoning of a line out of two uncertain points. |
void |
testCheckPlueckerCondition()
Test for checkPlueckerCondition() Tests with two lines. |
void |
testCopy()
Test for copy() Just copys a line, then changes original to test whether it does a deep copy or not. |
void |
testDualMatrixC()
Tests if the Matrix C is "calculated" properly |
void |
testGamma()
Test for Matrix Gamma() |
void |
testGammaDual()
Test for Matrix GammaDual() Does the same as testGammaDual(Vector). |
void |
testGammaDualVector()
Test for Matrix GammaDual(Vector) Lets sugr calculate gamma dual then calculates the matrix and controls the results |
void |
testGammaVector()
Test for Matrix Gamma(Vector) |
void |
testGetDegreesOfFreedom()
Test for getDegreesOfFreedom() |
void |
testGetDimension()
Test for getDimension() |
void |
testGetDistance()
Test for getDistance() Calculates distance between one million points and lines |
void |
testGetDistanceToOrigin()
Tests getDistanceToOrigin() over one million points uses the general formular for distance to points. |
void |
testGetDofOfRelation()
Test for getDofOfRelation() |
void |
testGetDual()
Test for getDual() Tests calculation of the dual over one million points includes test for error propagation |
void |
testGetEuclideanPart()
Test for getEuclideanPart() |
void |
testGetHomogeneousPart()
Test for getHomogeneousPart() |
void |
testGetJacobianOfRelationClassClass()
Test for Matrix getJacobianOfRelation(Class, Class) Tests if the Jacobian look like they should according to documentation (sugr handbook) and if they do what they should. |
void |
testGetLineLineJacobian()
Test getLineLineJacobian(), used to calculate the jacobian for equaltest between two lines. |
void |
testJGamma()
Tests if JGamma is calculated properly Tests Matrix value by value, then tests if it fullfills vec(GammaDual(L) = JGamma*C*L for a L. |
void |
testLine_3D()
Test for void Line_3D() |
void |
testLine_3Ddoubledoubledoubledoubledoubledouble()
Test for void Line_3D(double, double, double, double, double, double) |
void |
testLine_3DdoubledoubledoubledoubledoubledoubleMatrix()
Test for void Line_3D(double, double, double, double, double, double, Matrix) |
void |
testLine_3DdoubledoubledoubledoubledoubledoubleMatrixboolean()
Test for void Line_3D(double, double, double, double, double, double, Matrix, boolean) |
void |
testLine_3DPlane_3DPlane_3D()
Test for Line_3D(Plane_3D, Plane_3D) That means construct a Line_3D out of two Planes. |
void |
testLine_3DPoint_3DPoint_3D()
Test for Line_3D(Point_3D, Point_3D) That means construct a Line_3D out of two points. |
void |
testLine_3DVectorMatrix()
Test for void Line_3D(Vector, Matrix) |
void |
testNormalizeEuclidean()
Test for normailzeEuclidean. |
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 |
Field Detail |
public static int MAXITER
Constructor Detail |
public Line_3DTest(java.lang.String arg0)
arg0
- Method Detail |
public boolean helpLine_3DPoint_3DPoint_3DStatistics(Point_3D point1, Point_3D point2, double sigma)
point1
- - the point firstpoint2
- - the second point to be connected to the first one
public boolean helpLine_3DPlane_3DPlane_3DStatistics(Plane_3D plane1, Plane_3D plane2, double sigma)
plane1
- - the first planeplane2
- - the second plane to be intersected with the first one
public void testGetDegreesOfFreedom()
public void testGetDimension()
public void testGetEuclideanPart()
public void testGetHomogeneousPart()
public void testGetJacobianOfRelationClassClass()
public void testGetDofOfRelation()
public void testNormalizeEuclidean()
public void testGetDistance()
public void testLine_3DVectorMatrix()
public void testLine_3Ddoubledoubledoubledoubledoubledouble()
public void testLine_3DdoubledoubledoubledoubledoubledoubleMatrix()
public void testLine_3DdoubledoubledoubledoubledoubledoubleMatrixboolean()
public void testLine_3DPlane_3DPlane_3D()
public void testLine_3DPoint_3DPoint_3D()
public void testLine_3D()
public void testCheckPlueckerCondition()
public void testGetDual()
public void testCopy()
public void testGammaDualVector()
public void testGammaDual()
public void testGammaVector()
public void testGamma()
public void testGetLineLineJacobian()
public void testJGamma()
public void testDualMatrixC()
public void testGetDistanceToOrigin()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |