Package georegression.misc.test
Class GeometryUnitTest
java.lang.Object
georegression.misc.test.GeometryUnitTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertEquals(double valueA, double valueB, double tol, String message) static voidassertEquals(double x, double y, Point2D_F64 found, double tol) static voidassertEquals(float x, float y, Point2D_F32 found, float tol) static voidassertEquals(int x, int y, Point2D_I32 found) static voidassertEquals(int valueA, int valueB, String message) static voidassertEquals(GeoTuple_F64 a, GeoTuple_F64 b, double tol) static voidassertEquals(GeoTuple2D_F32 expected, GeoTuple2D_F32 found, float tol) static voidassertEquals(GeoTuple2D_F64 expected, GeoTuple2D_F64 found, double tol) static voidassertEquals(GeoTuple3D_F32 a, float x, float y, float z, float tol) static voidassertEquals(GeoTuple3D_F32 expected, GeoTuple3D_F32 found, float tol) static voidassertEquals(GeoTuple3D_F64 a, double x, double y, double z, double tol) static voidassertEquals(GeoTuple3D_F64 expected, GeoTuple3D_F64 found, double tol) static voidassertEquals(Point2D_I32 expected, Point2D_I32 found) static voidassertEquals(Se2_F32 expected, Se2_F32 found, float tolTran, float tolyaw) static voidassertEquals(Se2_F64 expected, Se2_F64 found, double tolTran, double tolyaw) static voidassertEquals(Se3_F32 expected, Se3_F32 found, float tolTran, float tolRotation) static voidassertEquals(Se3_F64 expected, Se3_F64 found, double tolTran, double tolRotation) static voidassertNotEquals(double valueA, double valueB, double tol, String message) static voidassertNotEquals(GeoTuple2D_F64 expected, GeoTuple2D_F64 found, double tol) static voidassertNotEquals(GeoTuple3D_F32 expected, GeoTuple3D_F32 found, float tol) static voidassertNotEquals(GeoTuple3D_F64 expected, GeoTuple3D_F64 found, double tol) static voidassertNotEquals(Se2_F64 expected, Se2_F64 found, double tolTran, double tolYaw) Sees if every parameter in expected is not each to each other.static voidassertTrue(boolean value, String message)
-
Constructor Details
-
GeometryUnitTest
public GeometryUnitTest()
-
-
Method Details
-
assertEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertNotEquals
Sees if every parameter in expected is not each to each other. Note that this test passes if only one is not equals.- Parameters:
expected- The expected transform.found- The found transform.tolTran- tolerance used for translational parameters.tolYaw- tolerance used for rotational parameters.
-
assertEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertNotEquals
-
assertEquals
-
assertEquals
-
assertNotEquals
-
assertNotEquals
-
assertEquals
-
assertEquals
-
assertEquals
-
assertNotEquals
-
assertTrue
-