|
MathLib
|
Contains the unit tests for Quaternion
| void ARotationIsStoredAsTheHalfAngle | ( | ) |
Definition at line 475 of file TestQuaternion.cpp.
| void ConjugateInvertsTheImaginaryComponents | ( | ) |
Definition at line 146 of file TestQuaternion.cpp.
| void ConjugateIsItsOwnInverse | ( | ) |
Definition at line 166 of file TestQuaternion.cpp.
| void CopyOperatorIsImplemented | ( | ) |
Definition at line 136 of file TestQuaternion.cpp.
| void DivideByZeroProducesInf | ( | ) |
Definition at line 675 of file TestQuaternion.cpp.
| void DividingByAScalarDividesEachComponent | ( | ) |
Definition at line 332 of file TestQuaternion.cpp.
| void DivisionIsJustMultiplyingByTheInverse | ( | ) |
Definition at line 463 of file TestQuaternion.cpp.
| void DotProductMultiplesCorrespondingElementsAndThenSumsTheResultingValues | ( | ) |
Definition at line 430 of file TestQuaternion.cpp.
| void ExpAndLogAreInversesOfEachOther | ( | ) |
Definition at line 609 of file TestQuaternion.cpp.
| void HasOperatorNegate | ( | ) |
Definition at line 284 of file TestQuaternion.cpp.
| void IJEqualsK | ( | ) |
Definition at line 237 of file TestQuaternion.cpp.
| void IJKIsNegativeOne | ( | ) |
Definition at line 228 of file TestQuaternion.cpp.
| void IJKUnitQuaternionsAreDefined | ( | ) |
Definition at line 189 of file TestQuaternion.cpp.
| void IKEqualsNegativeJ | ( | ) |
Definition at line 275 of file TestQuaternion.cpp.
| void ImaginaryReturnsIJK | ( | ) |
Definition at line 419 of file TestQuaternion.cpp.
| void InverseOfAUnitQuaternionIsItsConjugate | ( | ) |
Definition at line 383 of file TestQuaternion.cpp.
| void IsInfIsTrueWhenAtLeastOneMemberIsInf | ( | ) |
Definition at line 663 of file TestQuaternion.cpp.
| void IsNaNIsTrueWhenAtLeastOneMemberIsNaN | ( | ) |
Definition at line 651 of file TestQuaternion.cpp.
| void ISquaredIsNegativeOne | ( | ) |
Definition at line 198 of file TestQuaternion.cpp.
| void JIEqualsNegativeK | ( | ) |
Definition at line 244 of file TestQuaternion.cpp.
| void JKEqualsI | ( | ) |
Definition at line 252 of file TestQuaternion.cpp.
| void JSquaredIsNegativeOne | ( | ) |
Definition at line 208 of file TestQuaternion.cpp.
| void KIEqualsJ | ( | ) |
Definition at line 268 of file TestQuaternion.cpp.
| void KJEqualsNegativeI | ( | ) |
Definition at line 259 of file TestQuaternion.cpp.
| void KSquaredIsNegativeOne | ( | ) |
Definition at line 218 of file TestQuaternion.cpp.
| void MagnitudeSquaredIsValueOfRealPartOfProductOfAQuaternionAndItsConjugate | ( | ) |
Definition at line 452 of file TestQuaternion.cpp.
| void MakePureQuaternionSetsImaginaryVectorToInputParameters | ( | ) |
Definition at line 408 of file TestQuaternion.cpp.
| void MakePureQuaternionSetsRealComponentToZero | ( | ) |
Definition at line 401 of file TestQuaternion.cpp.
| void MakingARotationIsAccurate | ( | ) |
Definition at line 506 of file TestQuaternion.cpp.
| void MultiplyingAQuaternionByItsConjugateProducesAPureRealNumber | ( | ) |
Definition at line 440 of file TestQuaternion.cpp.
| void MultiplyingByAScalarMultipliesEachComponent | ( | ) |
Definition at line 351 of file TestQuaternion.cpp.
| void MultiplyingByItsOwnInverseProducesUnity | ( | ) |
Definition at line 369 of file TestQuaternion.cpp.
| void NormIsEquivalentToDistance | ( | ) |
Definition at line 309 of file TestQuaternion.cpp.
| void OperatorEqualsComparesMatchingComponents | ( | ) |
Definition at line 100 of file TestQuaternion.cpp.
| void OperatorNotEqualsIsOppositeOfEquals | ( | ) |
Definition at line 114 of file TestQuaternion.cpp.
| void OperatorPlusAndMinusAreInverses | ( | ) |
Definition at line 296 of file TestQuaternion.cpp.
| void PerformTwoConsecutiveRotations | ( | ) |
Definition at line 537 of file TestQuaternion.cpp.
| void QuaternionAddsPerComponent | ( | ) |
Definition at line 86 of file TestQuaternion.cpp.
| void QuaternionIsConstructedAsExpected | ( | ) |
Definition at line 74 of file TestQuaternion.cpp.
| void RotatingA3DPointByUnitRotationLeavesPointUnchanged | ( | ) |
Definition at line 175 of file TestQuaternion.cpp.
| void Run | ( | ) |
Run all of the unit tests in this namespace
Definition at line 688 of file TestQuaternion.cpp.
| void TestExp | ( | ) |
Definition at line 595 of file TestQuaternion.cpp.
| void TestPow | ( | ) |
Definition at line 570 of file TestQuaternion.cpp.
| void TestRotationAtRegularIntervals | ( | Quaternionf | begin, |
| Degreef | amount_of_rotation, | ||
| Vector3Df | rotation_axis, | ||
| int | num_equal_steps | ||
| ) |
Definition at line 32 of file TestQuaternion.cpp.
| void TestSlerp | ( | ) |
Definition at line 627 of file TestQuaternion.cpp.
| void UnitQuaternionHasNormOfOne | ( | ) |
Definition at line 322 of file TestQuaternion.cpp.
| void UnitQuaternionIsAsExpected | ( | ) |
Definition at line 50 of file TestQuaternion.cpp.
| void UnitQuaternionIsNear1 | ( | ) |
Definition at line 393 of file TestQuaternion.cpp.
| void ZeroQuaternionIsAsExpected | ( | ) |
Definition at line 62 of file TestQuaternion.cpp.