Apache Commons logo Apache Commons Numbers

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
64 0 0 0 100% 0.26

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.numbers.quaternion 64 0 0 0 100% 0.26

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.numbers.quaternion

Class Tests Errors Failures Skipped Success Rate Time
SlerpTest 11 0 0 0 100% 0.089
QuaternionTest 48 0 0 0 100% 0.158
UserGuideTest 5 0 0 0 100% 0.013

Test Cases

[Summary] [Package List] [Test Cases]

SlerpTest

testSlerp_inputQuaternionsHaveMinusOneDotProduct 0.001
testSlerp_identicalInputs 0
testSlerp_sphericalAlgorithm 0.002
testSlerp_linearAlgorithm 0.001
testSlerp_nonNormalizedInputs 0.001
testVectorTransform_multipleCombinations 0.072
testSlerp_tOutsideOfZeroToOne 0.001
testSlerp_linearAlgorithm_allOutputsAreInPositivePolarForm 0
testSlerp_sphericalAlgorithm_allOutputsAreInPositivePolarForm 0.001
testVectorTransform_simple 0.001
testVectorTransform_tOutsideOfZeroToOne_ 0.001

QuaternionTest

testZeroQuaternion 0.054
testSubtractQuaternionQuaternion 0.001
testAccessors1 0.001
testAccessors2 0.001
testAccessors3 0.001
testParseMissingStart 0.003
testInverseNormalized 0.005
testInverse_negativeInfinityNorm 0.001
testParseMissingEnd 0.001
testWrongDimension 0.001
testNorm 0
testToString 0.001
testParseSpecials 0.002
testNormalizeFail_negativeInfinity 0.001
testNormalizeFail_zero 0.001
testNegateNormalized 0.001
testObjectEquals 0.002
testParseFromToString 0.001
testInversePositivePolarForm 0.001
testNormalizeFail_nan 0.001
testPositivePolarFormWhenScalarPositive 0.001
testDotProductQuaternionQuaternion 0.001
testParseMissingPart 0.001
testInverse_zeroNorm 0.001
testPositivePolarFormWhenScalarNegative 0.001
testParseInvalidScalar 0.001
testConjugate 0.001
testUnitQuaternions 0.001
testNormalizeFail_positiveInfinity 0
testPositivePolarFormWhenScalarPositiveAndNormalized 0.001
testNegatePositivePolarForm 0.001
testPositivePolarFormWhenScalarNegativeAndNormalized 0.001
testAddQuaternionQuaternion 0
testHashCode 0
testNormalize 0
testInverse_positiveInfinityNorm 0
testQuaternionEquals2 0.001
testScalarMultiplyDouble 0
testMultiply 0
testInverse_nanNorm 0
testIsPure 0
testIsUnit 0.004
testInverse 0.001
testNegate 0.001
testParseInvalidI 0
testParseInvalidJ 0
testParseInvalidK 0
testQuaternionEquals 0.001

UserGuideTest

testQuaternion1 0.005
testQuaternion2 0.001
testQuaternion3 0.001
testQuaternion4 0.001
testSlerp1 0.003