- assertEquals
void assertEquals(AxisAngle4d a, AxisAngle4d b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(Quaterniond a, Quaterniond b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(Vector3d a, Vector3d b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(Vector3i a, Vector3i b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(Vector4d a, Vector4d b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(Vector4i a, Vector4i b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(double a, double b, double precision)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(double a, double b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertEquals
void assertEquals(Vector2i a, Vector2i b)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertFalse
void assertFalse(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertTrue
void assertTrue(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
- doubleEqual
bool doubleEqual(double a, double b, double precision)
Return whether two doubleing point numbers are equal. They are considered equal when their difference is less than or equal to the precision.
@param a the first number
@param b the second number
@param precision if abs(a - b) <= precision, a and b are considered equal
@return whether a and b are equal
@see #doubleCompare(double, double, double)
- setTestVerbose
void setTestVerbose(bool newValue)
Undocumented in source. Be warned that the author may not have intended to support it.
- assertMatrix3dEquals
void assertMatrix3dEquals(Matrix3d m1, Matrix3d m2, double delta)
Assert that both matrices are equal with respect to the given delta.
- assertMatrix4dEquals
void assertMatrix4dEquals(Matrix4d m1, Matrix4d m2, double delta)
Assert that both matrices are equal with respect to the given delta.
- assertMatrix4x3dEquals
void assertMatrix4x3dEquals(Matrix4x3d m1, Matrix4x3d m2, double delta)
Assert that both matrices are equal with respect to the given delta.
- assertQuaterniondEquals
void assertQuaterniondEquals(Quaterniond expected, Quaterniond actual, double delta)
Assert that both quaternions are equal with respect to the given delta.
- assertVector2dEquals
void assertVector2dEquals(Vector2d expected, Vector2d actual, double delta)
Assert that both vectors are equal with respect to the given delta.
- assertVector3dEquals
void assertVector3dEquals(Vector3d expected, Vector3d actual, double delta)
Assert that both quaternions are equal with respect to the given delta.
- assertVector4dEquals
void assertVector4dEquals(Vector4d expected, Vector4d actual, double delta)
Assert that both vectors are equal with respect to the given delta.
- doubleCompare
int doubleCompare(double a, double b, double precision)
Compare two doubleing point numbers. They are considered equal when their difference is less than or equal to the precision.
@param a the first number
@param b the second number
@param precision if abs(a - b) <= precision, a and b are considered equal
@return 0 if a == b, 1 if a > b, -1 if a < b
@see #doubleEqual(double, double, double)
- quatEqual
bool quatEqual(Quaterniond a, Quaterniond b, double precision)
Return whether two quaternions are equal. They are considered equal when their difference is
less than or equal to the precision.
@param a the first quaternion
@param b the second quaternion
@param precision if abs(a.comp - b.comp) <= precision for every component comp (x, y, z, w), a and b are considered equal
@return whether a and b are equal