Apache Commons logo Apache Commons Numbers

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
100 0 0 0 100% 6.101

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.core 100 0 0 0 100% 6.101

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

org.apache.commons.numbers.core

Class Tests Errors Failures Skipped Success Rate Time
EpsilonDoubleEquivalenceTest 13 0 0 0 100% 0.011
PrecisionTest 23 0 0 0 100% 0.069
ArithmeticUtilsTest 28 0 0 0 100% 0.063
SumTest 11 0 0 0 100% 0.014
ExtendedPrecisionTest 6 0 0 0 100% 0.001
NormTest 19 0 0 0 100% 5.943

Test Cases

[Summary] [Package List] [Test Cases]

EpsilonDoubleEquivalenceTest

testGte 0
testLte 0
testCompare_NaN 0
testEq 0.001
testGt 0
testLt 0
testCompare_simple 0.001
testCompare_compareToZero 0
testInvalidEpsilonValues 0.001
testCompare_infinity 0
testEqZero 0
testSignum 0.001
testCompare_compareNonZero 0

PrecisionTest

testRepresentableDelta 0.027
testRoundDouble 0.006
testFloatEqualsWithImplicitAllowedUlpsOf1 0.003
testMath475Float 0
testEqualsWithImplicitAllowedUlpsOf1 0.001
testFloatEqualsWithAllowedDelta 0.001
testCompareToEpsilon 0
testFloatEqualsIncludingNaNWithAllowedDelta 0.001
testEqualsIncludingNaNWithAllowedDelta 0.001
testEqualsIncludingNaNWithAllowedUlps 0.001
testEqualsWithRelativeTolerance 0
testSortWithCompareTo 0.003
testFloatEqualsIncludingNaN 0
testFloatEqualsWithAllowedUlps 0
testMath475 0
testMath843 0.001
testEqualsWithAllowedUlps 0.001
testMath1127 0
testFloatEqualsIncludingNaNWithAllowedUlps 0.001
testEqualsWithAllowedDelta 0
testIssue721 0
testCompareToMaxUlps 0.001
testEqualsIncludingNaN 0

ArithmeticUtilsTest

testGcdConsistency 0.003
testGcd 0.002
testLcm 0.001
testPow 0.001
testPowLongOverflow 0.001
testRemainderUnsignedLongSpecialCases 0.014
testRemainderUnsignedInt 0.001
testRemainderUnsignedIntSpecialCases 0.007
testRemainderUnsignedLong 0.001
testPowLong 0
testIsPowerOfTwo 0.001
testGcdLong 0.001
testPowNegativeLongOverflow 0.001
testLcmLong 0.001
testDivideUnsignedLong 0
testPowMinusOneLong 0.001
testDivideUnsignedLongSpecialCases 0.008
testPowNegativeInt 0.001
testPowMinusOneInt 0
testDivideUnsignedIntSpecialCases 0.005
testPowOneInt 0
testPowNegativeLong 0.001
testPowNegativeIntOverflow 0.001
testPowEdgeCases 0.002
testPowIntOverflow 0.001
testPowOneLong 0.001
testPowInt 0
testDivideUnsignedInt 0

SumTest

testSumOfProducts 0
testSumOfProducts_overflow 0
testMixedSingleTermAndProduct 0
testSumOfProducts_dimensionMismatch 0
testSum_simple 0
testSumAccuracy 0.006
testAdd_sumInstance 0.001
testSumOfProducts_huge 0.001
testUnityValuesInProduct 0.001
testSumOfProducts_nonFinite 0.001
testSumOfProducts_singleElement 0.001

ExtendedPrecisionTest

testHighPartUnscaled 0
testSplitAssumptions 0
testSquareLowUnscaled 0
testProductLow 0
testIsNotNormal 0
testSubNormalSplit 0

NormTest

testEuclidean_array_random 5.445
testEuclidean_array_scaled 0
testEuclidean_array_simple 0.001
testEuclidean_2d_random 0.186
testEuclidean_2d_scaled 0.001
testEuclidean_2d_simple 0.001
testMaximum_array 0.001
testEuclidean_2d_dominantValue 0.001
testEuclidean_3d_vsArray 0.001
testEuclidean_2d_vsArray 0.001
testEuclidean_2d_vsHypot 0.066
testMaximum_2d 0
testMaximum_3d 0
testEuclidean_3d_random 0.228
testEuclidean_3d_scaled 0
testEuclidean_3d_simple 0
testManhattan_2d 0
testManhattan_3d 0.001
testManhattan_array 0.001