|
MathLib
|
Contains the unit tests for Complex
| void ComplexAddsPerComponent | ( | ) |
Definition at line 85 of file TestComplex.cpp.
| void ComplexIsConstructedAsExpected | ( | ) |
Definition at line 77 of file TestComplex.cpp.
| void ConjugateInvertsTheImaginaryComponent | ( | ) |
Definition at line 133 of file TestComplex.cpp.
| void ConjugateIsItsOwnInverse | ( | ) |
Definition at line 148 of file TestComplex.cpp.
| void CopyOperatorIsImplemented | ( | ) |
Definition at line 125 of file TestComplex.cpp.
| void DividingByAScalarDividesEachComponent | ( | ) |
Definition at line 201 of file TestComplex.cpp.
| void DotProductMultiplesCorrespondingElementsAndThenSumsTheResultingValues | ( | ) |
Definition at line 271 of file TestComplex.cpp.
| void ExpAndLogAreInversesOfEachOther | ( | ) |
Definition at line 379 of file TestComplex.cpp.
| void HasOperatorNegate | ( | ) |
Definition at line 168 of file TestComplex.cpp.
| void InverseOfAUnitComplexIsItsConjugate | ( | ) |
Definition at line 249 of file TestComplex.cpp.
| void ISquaredIsNegativeOne | ( | ) |
Definition at line 160 of file TestComplex.cpp.
| void IUnitCoomplexIsDefined | ( | ) |
Definition at line 155 of file TestComplex.cpp.
| void MagnitudeSquaredIsValueOfRealPartOfProductOfAComplexAndItsConjugate | ( | ) |
Definition at line 288 of file TestComplex.cpp.
| void MakePureComplexSetsImaginaryToInputParameter | ( | ) |
Definition at line 266 of file TestComplex.cpp.
| void MakePureComplexSetsRealComponentToZero | ( | ) |
Definition at line 261 of file TestComplex.cpp.
| void MakingARotationIsAccurate | ( | ) |
Definition at line 297 of file TestComplex.cpp.
| void MultiplyingAComplexByItsConjugateProducesAPureRealNumber | ( | ) |
Definition at line 279 of file TestComplex.cpp.
| void MultiplyingByAScalarMultipliesEachComponent | ( | ) |
Definition at line 219 of file TestComplex.cpp.
| void MultiplyingByItsOwnInverseProducesUnity | ( | ) |
Definition at line 237 of file TestComplex.cpp.
| void NormIsEquivalentToDistance | ( | ) |
Definition at line 187 of file TestComplex.cpp.
| void OperatorEqualsComparesMatchingComponents | ( | ) |
Definition at line 95 of file TestComplex.cpp.
| void OperatorNotEqualsIsOppositeOfEquals | ( | ) |
Definition at line 105 of file TestComplex.cpp.
| void OperatorPlusAndMinusAreInverses | ( | ) |
Definition at line 176 of file TestComplex.cpp.
| void PerformTwoConsecutiveRotations | ( | ) |
Definition at line 319 of file TestComplex.cpp.
| void Run | ( | ) |
Run all of the unit tests in this namespace
Definition at line 448 of file TestComplex.cpp.
| void TestExp | ( | ) |
Definition at line 367 of file TestComplex.cpp.
| void TestPow | ( | ) |
Definition at line 344 of file TestComplex.cpp.
| void TestRotationAtRegularIntervals | ( | Complexf | begin, |
| Degreef | amount_of_rotation, | ||
| int | num_equal_steps | ||
| ) |
Definition at line 32 of file TestComplex.cpp.
| void TestSlerp | ( | ) |
Definition at line 395 of file TestComplex.cpp.
| void UnitComplexHasNormOfOne | ( | ) |
Definition at line 195 of file TestComplex.cpp.
| void UnitComplexIsAsExpected | ( | ) |
Definition at line 61 of file TestComplex.cpp.
| void UnitComplexIsNear1 | ( | ) |
Definition at line 255 of file TestComplex.cpp.
| void ZeroComplexIsAsExpected | ( | ) |
Definition at line 69 of file TestComplex.cpp.