Apache Commons logo Commons Math

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
284 0 0 0 100% 5.786

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.math4.legacy.core.jdkmath 135 0 0 0 100% 5.041
org.apache.commons.math4.legacy.core.dfp 83 0 0 0 100% 0.719
org.apache.commons.math4.legacy.core 66 0 0 0 100% 0.026

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

org.apache.commons.math4.legacy.core.jdkmath

Class Tests Errors Failures Skipped Success Rate Time
AccurateMathStrictComparisonTest 65 0 0 0 100% 0.044
AccurateMathTest 70 0 0 0 100% 4.997

org.apache.commons.math4.legacy.core.dfp

Class Tests Errors Failures Skipped Success Rate Time
DfpMathTest 2 0 0 0 100% 0.121
DfpTest 78 0 0 0 100% 0.593
DfpDecTest 3 0 0 0 100% 0.005

org.apache.commons.math4.legacy.core

Class Tests Errors Failures Skipped Success Rate Time
IntegerSequenceTest 16 0 0 0 100% 0.011
MathArraysTest 44 0 0 0 100% 0.013
PairTest 6 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

IntegerSequenceTest

testIncreasingRangeNegativeEnd 0.002
testBasicRange 0
testEmptyRange 0
testRangeMultipleIterations 0
testIncrementTooManyTimes 0.005
testDecreasingRange 0
testCanIncrementZeroTimes 0
testIncrementZeroTimes 0
testEmptyRangeNegativeStart 0
testIncrementorCountExceeded 0
testIncrementorAlternateException 0
testIncrementZeroStep 0
testIteratorZeroElement 0
testSingleElementRange 0
testIteratorNext 0
testIncreasingRange 0

DfpMathTest

testPow 0.11
testSin 0.003

AccurateMathStrictComparisonTest

test1[0] 0.001
test1[1] 0.001
test1[2] 0
test1[3] 0
test1[4] 0
test1[5] 0
test1[6] 0
test1[7] 0.002
test1[8] 0
test1[9] 0.001
test1[10] 0.002
test1[11] 0
test1[12] 0.001
test1[13] 0
test1[14] 0.001
test1[15] 0.001
test1[16] 0.001
test1[17] 0.001
test1[18] 0.001
test1[19] 0.001
test1[20] 0
test1[21] 0
test1[22] 0
test1[23] 0.001
test1[24] 0.001
test1[25] 0.001
test1[26] 0.001
test1[27] 0.001
test1[28] 0.001
test1[29] 0.001
test1[30] 0.001
test1[31] 0
test1[32] 0
test1[33] 0.001
test1[34] 0
test1[35] 0
test1[36] 0
test1[37] 0.001
test1[38] 0.001
test1[39] 0
test1[40] 0.001
test1[41] 0
test1[42] 0
test1[43] 0.001
test1[44] 0
test1[45] 0.001
test1[46] 0
test1[47] 0
test1[48] 0.001
test1[49] 0.001
test1[50] 0
test1[51] 0
test1[52] 0
test1[53] 0
test1[54] 0.001
test1[55] 0
test1[56] 0.001
test1[57] 0
test1[58] 0.001
test1[59] 0.001
test1[60] 0
test1[61] 0
test1[62] 0
test1[63] 0
test1[64] 0.001

AccurateMathTest

testLogSpecialCases 0
testToIntExactTooHigh 0.001
testDoubleNextAfterSpecialCases 0
testIncrementExactInt 0.001
testFloorDivInt 0.03
testIndicatorDouble 0
testFloorModInt 0.027
testSubtractExactInt 0.002
testAtan2SpecialCases 0.005
testCbrtAccuracy 0.626
testAtan2 0
testIntPowSpecialCases 0.011
testLogAccuracy 0.051
testLog1pSpecialCases 0
testAcosAccuracy 0.585
testMinMaxDouble 0.002
testAcosSpecialCases 0
testPowSpecialCases 0
testDoubleScalbSpecialCases 0
testToIntExactTooLow 0
testTanhAccuracy 1.015
testMath905LargePositive 0.002
testPowAllSpecialCases 0.302
testMath905LargeNegative 0.002
testFloorDivModInt 0.037
testToIntExact 0.001
testToRadians 0.027
testMultiplyExactLong 0.004
testLogWithBase 0
testDecrementExactInt 0.001
testConstants 0.001
testAddExactInt 0.002
testTanAccuracy 0.049
testMath904 0
testIntPowHuge 0.001
testFloatScalbSpecialCases 0
testAddExactLong 0.001
testToDegrees 0.013
testMultiplyExactInt 0.002
testSignumFloat 0
testIntPowLongMinValue 0.001
testRoundDown 0
testSinAccuracy 0.028
testAtan2Accuracy 0.048
testFloatNextAfterSpecialCases 0
testExpm1Accuracy 0.031
testMath1269 0
testSignumDouble 0
testPowLargeIntegralDouble 0.001
testMinMaxFloat 0
testHyperbolic 0.022
testFloorModLong 0.014
testCoshAccuracy 0.518
testSubtractExactLong 0.001
testIntPow 0.007
testIndicatorFloat 0
testPowAccuracy 0.09
testFloorDivModLong 0.023
testFloorDivLong 0.048
testExpSpecialCases 0.001
testLog10Accuracy 0.079
testAtanAccuracy 0.04
testNextAfter 0
testLog1pAccuracy 0.045
testHyperbolicInverses 0.007
testAsinSpecialCases 0
testAsinAccuracy 0.557
testCosAccuracy 0.027
testExpAccuracy 0.064
testSinhAccuracy 0.533

MathArraysTest

testNormalizeArray 0.002
testEbeMultiplyPrecondition 0
testCheckEqualLength1 0
testCheckEqualLength2 0
testL1DistanceDouble 0
testConcatenateSingle 0
testCheckOrder 0.001
testScale 0
testL1DistanceInt 0
testEbeDivide 0
testEbeMultiply 0
testConcatenateNullArguments 0
testL2DistanceInt 0
testIsMonotonic 0
testLInfDistanceDouble 0.001
testArrayEqualsIncludingNaN 0
testArrayEquals 0
testCheckFinite 0.001
testIsMonotonicComparable 0
testUniqueNaNValues 0.001
testCheckNotNaN 0
testUniqueInfiniteValues 0
testL2DistanceDouble 0
testConvolve 0.001
testLInfDistanceInt 0
testConcatenate 0
testCheckNonNegative2D 0
testEbeAddPrecondition 0
testEbeSubtract 0
testEbeDividePrecondition 0
testCheckPositive 0
testScaleInPlace 0
testVerifyValuesPositive 0
testUniqueNullArgument 0
testNaturalZero 0
testVerifyValuesNegative 0
testCheckNonNegative 0
testEbeAdd 0.001
testNatural 0
testCheckRectangular 0
testUnique 0
testSequenceZero 0
testEbeSubtractPrecondition 0
testSequence 0

DfpTest

testAdd 0.001
testSpecialConstructors 0
testFloor 0
testLog10 0.001
testRound 0
testCeil 0.001
testRint 0
testSqrt 0.001
testToString 0.001
testReciprocal 0
testEqualsHashcodeContract 0.001
testDivideInt 0
testSignPredicates 0.001
testPower10 0
testCopySign 0.001
testCompare 0.001
testByteConstructor 0
testIntValue 0
testDivide 0
testMultiply 0
testIssue567 0.184
testIsZero 0
testIntConstructor 0
testLog10K 0
testRemainder 0
testPower10K 0
testLongConstructor 0
testNextAfter 0.001
testDivideField 0.071
testRemainderDouble 0.011
testGetField 0
testDivideDouble 0.008
testAbs 0.001
testCos 0.001
testExp 0.009
testLog 0.001
testSin 0.001
testTan 0.001
testAcosh 0.004
testAsinh 0.002
testAtan2 0.034
testAtanh 0.002
testExpm1 0.001
testHypot 0.016
testLog1p 0.001
testRootN 0.005
testScalb 0.08
testAcos 0.001
testAsin 0.001
testAtan 0
testCbrt 0.002
testCosh 0.001
testHash 0
testSinh 0.001
testTanh 0.001
testAddField 0.005
testMultiplyDouble 0.006
testMultiplyInt 0.003
testLinearCombinationDaFa 0.031
testLinearCombinationFaFa 0.003
testAddDouble 0.005
testPowDouble 0.016
testSubtractDouble 0.006
testRemainderField 0.008
testCopySignDouble 0.005
testLinearCombinationDF2 0.001
testLinearCombinationDF3 0.001
testLinearCombinationDF4 0.001
testLinearCombinationFF2 0.001
testLinearCombinationFF3 0.001
testLinearCombinationFF4 0.002
testEquals 0
testCopySignField 0.005
testPowField 0.015
testPowInt 0.002
testSignum 0
testMultiplyField 0.006
testSubtractField 0.005

PairTest

testAccessor2 0
testAccessor 0
testToString 0
testHashCode 0
testCreate 0
testEquals 0

DfpDecTest

testRound 0.003
testRoundDecimal10 0.001
testNextAfter 0.001